A Sopel plugin to fetch users' recent Trakt plays
Project description
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:
[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
0.2.1
Fixed:
- Handle private profiles with a friendly error message
0.2.0
Revived by new maintainer (dgw) under a new package
name (sopel-modules.trakt
→ sopel-trakt
). Major changes include:
- Config setting
api
renamed toclient_id
- Updated coding standards for Sopel 7.1+ and Python 3.8+
- Dropped
sopel_modules
namespace in favor of asetuptools
entry point
Much of the work in this release was spent on housekeeping; user-facing functionality is essentially unchanged from the last release published on PyPI by sharktamer.
0.1.0
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sopel_trakt-0.2.1.tar.gz
.
File metadata
- Download URL: sopel_trakt-0.2.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07a5b77fb46b0468ea5a1d7c47c074dbc1b0111f7d30e2839fd68e548cfc951f |
|
MD5 | 66b83b6cadebb61eb66fafba2e7e3333 |
|
BLAKE2b-256 | fcd7d7c8516ee11de16c08252acd24a467462a3cfea7cf073b664f09ff826a51 |
File details
Details for the file sopel_trakt-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: sopel_trakt-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aab532e080e8650fd99cb13893275013c8b9252ec3f7fa3b7fd2e539f9be0e5 |
|
MD5 | 129cc75621582409f4d2abd6d6215ff9 |
|
BLAKE2b-256 | 9bc0626688d93ffc037f0a0982504e97b936d86864f5fa64297365c815908625 |