PHPackages                             stuartmcgill/sumoapi-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. stuartmcgill/sumoapi-php

ActiveLibrary[API Development](/categories/api)

stuartmcgill/sumoapi-php
========================

A PHP wrapper for https://sumo-api.com/

v0.8.3(3mo ago)0192GPL-3.0-or-laterPHPPHP &gt;=8.3CI passing

Since Apr 17Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/stuartmcgill/sumoapi-php)[ Packagist](https://packagist.org/packages/stuartmcgill/sumoapi-php)[ RSS](/packages/stuartmcgill-sumoapi-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (26)Used By (0)

Sumo API (PHP)
==============

[](#sumo-api-php)

[![Code coverage badge](https://github.com/stuartmcgill/sumoapi-php/raw/image-data/coverage.svg)](https://github.com/stuartmcgill/sumoapi-php/blob/image-data/coverage.svg)

This library provides a PHP wrapper for . Currently the following functionality is available:

- Fetch all rikishis
- Fetch a rikishi by ID
- Fetch a rikishi's matches
- Fetch multiple rikishi (by IDs)
- Fetch multiple rikishi (by division)
- Fetch rikishi matchups
- Fetch kimarite (by type)

Installation
============

[](#installation)

`composer require stuartmcgill/sumoapi-php`

Usage
=====

[](#usage)

See  for details of the API endpoints.

Rikishi API
-----------

[](#rikishi-api)

### Sample code

[](#sample-code)

```
#!/bin/env php
