Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hashworks/phergie-xrel-plugin
Phergie plugin to access the xREL.to API.
https://github.com/hashworks/phergie-xrel-plugin
Last synced: about 1 month ago
JSON representation
Phergie plugin to access the xREL.to API.
- Host: GitHub
- URL: https://github.com/hashworks/phergie-xrel-plugin
- Owner: hashworks
- License: gpl-3.0
- Created: 2015-02-08T16:33:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T14:54:53.000Z (over 6 years ago)
- Last Synced: 2024-10-19T22:48:44.026Z (2 months ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phergie-xREL-Plugin
[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin to access the [xREL.to](http://xrel.to) API.
## Install
To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.
```
composer require hashworks/phergie-xrel-plugin
```See Phergie documentation for more information on
[installing and enabling plugins](https://github.com/phergie/phergie-irc-bot-react/wiki/Usage#plugins).## Configuration
```php
// dependency
new \Phergie\Irc\Plugin\React\Command\Plugin,
new \WyriHaximus\Phergie\Plugin\Dns\Plugin,
new \WyriHaximus\Phergie\Plugin\Http\Plugin(array('dnsResolverEvent' => 'dns.resolver')),
new \hashworks\Phergie\Plugin\xREL\Plugin(array(
// Optional. Searches for release dirnames in all messages and applies the nfo command on them.
'parseAllMessages' => false,
// Optional. Limit of posts per command.
'limit' => 5
)),
```## Syntax
`upcoming` Responds with a list of upcoming movies.
`latest [[hd-]movie|[hd-]tv|game|update|console|[hd-]xxx]` Responds with a list of latest releases.
`hot [movie|tv|game|console]` Responds with a list of latest hot releases.
`nfo ` Responds with a nfo link for a scene dirname.