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.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.0.tar.gz
.
File metadata
- Download URL: sopel_trakt-0.2.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c02de2b442b57ed14be82901f13a7b56c2192362d91147a3638b6254b738baa |
|
MD5 | 5c3809345558959f16c28219b38adb8f |
|
BLAKE2b-256 | ea0f453b4e0b18790cf862732a37e05c7f80153136271e47a249944f5e03c45e |
File details
Details for the file sopel_trakt-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: sopel_trakt-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.3 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 | 1b2a4f23da70003a309bfd26edbf4a8689740eda6caf9d491373610b4ecb875d |
|
MD5 | 117dd9f5572d7213b3f72c113279d38c |
|
BLAKE2b-256 | d7eeedebb625a04f6b55492c9bc4f1615cce8618e454ad2f6e93deb4318dab56 |