Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jleagle/gazelle-api-client

A helper class to access the API on Gazelle sites
https://github.com/jleagle/gazelle-api-client

Last synced: about 9 hours ago
JSON representation

A helper class to access the API on Gazelle sites

Awesome Lists containing this project

README

        

# gazelle-api-client

A helper class to access the API on [Gazelle](https://github.com/WhatCD/Gazelle/wiki/JSON-API-Documentation) sites

### Usage

Instantiate the class using your website username and password:

```php
$gazelle = new Gazelle(USER, PASS);
```

Example API calls:

```php
$gazelle->getIndex();
$gazelle->getInbox();
$gazelle->getTopTen();
$gazelle->getRequests();
$gazelle->getArtistBookmarks();
$gazelle->getTorrentBookmarks();
$gazelle->getSubscriptions();
$gazelle->getForumCategories();
$gazelle->getNotifications();
$gazelle->getAnnouncements();
```