PHPackages                             kbsali/gsm-api - 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. kbsali/gsm-api

ActiveLibrary[API Development](/categories/api)

kbsali/gsm-api
==============

GlobalSportsMedia (GSM) API client

1.0.3(12y ago)66613MITPHPPHP &gt;=5.4

Since Dec 13Pushed 4y agoCompare

[ Source](https://github.com/kbsali/php-gsm-api)[ Packagist](https://packagist.org/packages/kbsali/gsm-api)[ Docs](https://github.com/kbsali/php-gsm-api)[ RSS](/packages/kbsali-gsm-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (5)Used By (0)

PHP GSM API
===========

[](#php-gsm-api)

A simple PHP5 Object Oriented wrapper for GlobalSportsMedia (GSM) XML API.

See

Features
--------

[](#features)

- Follows PSR-0 conventions and coding standard: autoload friendly
- API entry points implementation state :
- OK soccer
- OK am\_football
- OK aus\_football
- OK baseball
- OK basketball
- OK cricket
- OK golf
- OK handball
- OK hockey
- OK motorsports
- OK rugby
- OK tennis
- OK volleyball

Requirements
------------

[](#requirements)

- PHP &gt;= 5.4 with [cURL](http://php.net/manual/en/book.curl.php) extension,

Install
-------

[](#install)

Through [composer](http://getcomposer.org/download/), simply run :

```
$ php composer.phar require kbsali/gsm-api:1.*
```

Basic usage of `php-gsm-api` client
-----------------------------------

[](#basic-usage-of-php-gsm-api-client)

All the methods return a [SimpleXmlElement](http://php.net/manual/es/class.simplexmlelement.php) object or throw an Exception in case of error. Following the basic workflow documented in [globalsportsmedia.com](http://client.globalsportsmedia.com/documentation/soccer) for working with Soccer data :

```
