Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgw/sopel-trakt
A Sopel plugin to fetch users' recent Trakt plays
https://github.com/dgw/sopel-trakt
irc irc-bot-plugin sopel sopel-plugin trakt trakt-api trakt-tv
Last synced: about 1 month ago
JSON representation
A Sopel plugin to fetch users' recent Trakt plays
- Host: GitHub
- URL: https://github.com/dgw/sopel-trakt
- Owner: dgw
- License: other
- Created: 2024-05-14T14:59:16.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-18T19:46:36.000Z (6 months ago)
- Last Synced: 2024-09-19T13:09:15.299Z (about 2 months ago)
- Topics: irc, irc-bot-plugin, sopel, sopel-plugin, trakt, trakt-api, trakt-tv
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# sopel-trakt
A Sopel plugin to fetch users' recent Trakt plays
## Installation
Can be installed from PyPI using:
pip install sopel-trakt
## Configuration
`sopel-trakt` has one required configuration value: your API app's client ID.
You can run `sopel-plugins configure trakt` to set it interactively, or add a
section for this plugin to your bot's `.cfg` file directly:```ini
[trakt]
client_id = LongRandomStringProvidedByTrakt
```Create or retrieve your Trakt API app's client ID at https://trakt.tv/oauth/applications
## Testing
If you would like to make a contribution, be sure to run the included tests. Test requirements can be installed using:
pip install -r dev-requirements.txt
run tests using:
make test
## Credits
Adopted from a Sopel 6 plugin, `sopel_modules.trakt`: https://github.com/surskitt/sopel-trakt