pytrakt


Namepytrakt JSON
Version 4.2.1 PyPI version JSON
download
home_pagehttps://github.com/glensc/python-pytrakt
SummaryPythonic abstraction layer for easier scripting of the Trakt.tv REST API.
upload_time2025-07-15 11:30:34
maintainerNone
docs_urlNone
authorElan Ruusamäe
requires_pythonNone
licenseApache 2.0
keywords
VCS
bugtrack_url
requirements deprecated requests-oauthlib requests dataclasses
Travis-CI No Travis.
coveralls test coverage No coveralls.
            PyTrakt
=======

.. image:: https://github.com/glensc/python-pytrakt/actions/workflows/test.yml/badge.svg
    :target: https://github.com/glensc/python-pytrakt/actions
    :alt: CI Status

.. image:: https://img.shields.io/pypi/dm/pytrakt.svg
    :target: https://pypi.org/project/pytrakt/
    :alt: Downloads

.. image:: https://img.shields.io/pypi/l/pytrakt.svg
    :target: https://pypi.org/project/pytrakt/
    :alt: License

This module is designed to be a Pythonic interface to the `Trakt.tv <http://trakt.tv>`_.
REST API. The official documentation for which can be found `here <http://docs.trakt.apiary.io/#>`_.
trakt contains interfaces to all of the Trakt.tv functionality in an, ideally, easily
scriptable fashion. For more information on this module's contents and example usages
please see the `PyTrakt docs <https://glensc.github.io/python-pytrakt/>`_.

More information about getting started and accessing the information you thirst for
can be found throughout the documentation below.


Installation
------------
There are two ways through which you can install trakt

Install Via Pip
^^^^^^^^^^^^^^^
To install with `pip <http://www.pip-installer.org/>`_, just run this in your terminal::

    $ pip install pytrakt

Get the code
^^^^^^^^^^^^
trakt is available on `GitHub <https://github.com/glensc/python-pytrakt>`_.

You can either clone the public repository::

    $ git clone git://github.com/glensc/python-pytrakt.git

Download the `tarball <https://github.com/glensc/python-pytrakt/tarball/main>`_::

    $ curl -OL https://github.com/glensc/python-pytrakt/tarball/main

Or, download the `zipball <https://github.com/glensc/python-pytrakt/zipball/main>`_::

    $ curl -OL https://github.com/glensc/python-pytrakt/zipball/main

Once you have a copy of the source, you can embed it in your Python package,
or install it into your site-packages easily::

    $ python setup.py install

Contributing
------------
Pull requests are graciously accepted. Any pull request should not break any tests
and should pass `flake8` style checks (unless otherwise warranted). Additionally
the user opening the Pull Request should ensure that their username and a link to
their GitHub page appears in `CONTRIBUTORS.md <https://github.com/glensc/python-pytrakt/blob/main/CONTRIBUTORS.md>`_.


TODO
----
The following lists define the known functionality provided by the Trakt.tv API
which this module does not yet have support for. The current plan is that
support for the following features will be added over time. As always, if you
would like a feature added sooner rather than later, pull requests are most
definitely appreciated.

High Level API Features
^^^^^^^^^^^^^^^^^^^^^^^
- Pagination

Sync
^^^^
- Create a comment class to facilitate
  - returning an instance when a comment is created, instead of None
  - add ability to update and delete comments

Movies
^^^^^^
- movies/popular
- movies/played/{time_period}
- movies/watched/{time_period}
- movies/collected/{time_period}
- movies/anticipated
- movies/boxoffice
- movies/{slug}/stats

Shows
^^^^^
- Played
- Watched
- Collected
- Anticipated
- Collection Progress
- Watched Progress
- Stats

Seasons
^^^^^^^
- extended
  - images
  - episodes
  - full
- stats

Episodes
^^^^^^^^
- stats

Users
^^^^^
- hidden everything
- likes
  - comments
- comments
- UserList
  - comments
- history
- watchlists
  - seasons
  - episodes

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/glensc/python-pytrakt",
    "name": "pytrakt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Elan Ruusam\u00e4e",
    "author_email": "glen@pld-linux.org",
    "download_url": "https://files.pythonhosted.org/packages/bf/6d/582b06b61ecb59069746d9870265b9fc16d72679bd01d2652bdf01b4c5b5/pytrakt-4.2.1.tar.gz",
    "platform": null,
    "description": "PyTrakt\n=======\n\n.. image:: https://github.com/glensc/python-pytrakt/actions/workflows/test.yml/badge.svg\n    :target: https://github.com/glensc/python-pytrakt/actions\n    :alt: CI Status\n\n.. image:: https://img.shields.io/pypi/dm/pytrakt.svg\n    :target: https://pypi.org/project/pytrakt/\n    :alt: Downloads\n\n.. image:: https://img.shields.io/pypi/l/pytrakt.svg\n    :target: https://pypi.org/project/pytrakt/\n    :alt: License\n\nThis module is designed to be a Pythonic interface to the `Trakt.tv <http://trakt.tv>`_.\nREST API. The official documentation for which can be found `here <http://docs.trakt.apiary.io/#>`_.\ntrakt contains interfaces to all of the Trakt.tv functionality in an, ideally, easily\nscriptable fashion. For more information on this module's contents and example usages\nplease see the `PyTrakt docs <https://glensc.github.io/python-pytrakt/>`_.\n\nMore information about getting started and accessing the information you thirst for\ncan be found throughout the documentation below.\n\n\nInstallation\n------------\nThere are two ways through which you can install trakt\n\nInstall Via Pip\n^^^^^^^^^^^^^^^\nTo install with `pip <http://www.pip-installer.org/>`_, just run this in your terminal::\n\n    $ pip install pytrakt\n\nGet the code\n^^^^^^^^^^^^\ntrakt is available on `GitHub <https://github.com/glensc/python-pytrakt>`_.\n\nYou can either clone the public repository::\n\n    $ git clone git://github.com/glensc/python-pytrakt.git\n\nDownload the `tarball <https://github.com/glensc/python-pytrakt/tarball/main>`_::\n\n    $ curl -OL https://github.com/glensc/python-pytrakt/tarball/main\n\nOr, download the `zipball <https://github.com/glensc/python-pytrakt/zipball/main>`_::\n\n    $ curl -OL https://github.com/glensc/python-pytrakt/zipball/main\n\nOnce you have a copy of the source, you can embed it in your Python package,\nor install it into your site-packages easily::\n\n    $ python setup.py install\n\nContributing\n------------\nPull requests are graciously accepted. Any pull request should not break any tests\nand should pass `flake8` style checks (unless otherwise warranted). Additionally\nthe user opening the Pull Request should ensure that their username and a link to\ntheir GitHub page appears in `CONTRIBUTORS.md <https://github.com/glensc/python-pytrakt/blob/main/CONTRIBUTORS.md>`_.\n\n\nTODO\n----\nThe following lists define the known functionality provided by the Trakt.tv API\nwhich this module does not yet have support for. The current plan is that\nsupport for the following features will be added over time. As always, if you\nwould like a feature added sooner rather than later, pull requests are most\ndefinitely appreciated.\n\nHigh Level API Features\n^^^^^^^^^^^^^^^^^^^^^^^\n- Pagination\n\nSync\n^^^^\n- Create a comment class to facilitate\n  - returning an instance when a comment is created, instead of None\n  - add ability to update and delete comments\n\nMovies\n^^^^^^\n- movies/popular\n- movies/played/{time_period}\n- movies/watched/{time_period}\n- movies/collected/{time_period}\n- movies/anticipated\n- movies/boxoffice\n- movies/{slug}/stats\n\nShows\n^^^^^\n- Played\n- Watched\n- Collected\n- Anticipated\n- Collection Progress\n- Watched Progress\n- Stats\n\nSeasons\n^^^^^^^\n- extended\n  - images\n  - episodes\n  - full\n- stats\n\nEpisodes\n^^^^^^^^\n- stats\n\nUsers\n^^^^^\n- hidden everything\n- likes\n  - comments\n- comments\n- UserList\n  - comments\n- history\n- watchlists\n  - seasons\n  - episodes\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Pythonic abstraction layer for easier scripting of the Trakt.tv REST API.",
    "version": "4.2.1",
    "project_urls": {
        "Homepage": "https://github.com/glensc/python-pytrakt"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ba304441a2f11411d01361ee321a5710c49cbc88327e5316c07b1d486c0935bd",
                "md5": "9cc828376f9d2a3374d782ec22bf309e",
                "sha256": "54d1f24f52a5e69979df910c9d730d8f903aad6323930e8abdeb0d2a1fe14ccb"
            },
            "downloads": -1,
            "filename": "pytrakt-4.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9cc828376f9d2a3374d782ec22bf309e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 43042,
            "upload_time": "2025-07-15T11:30:32",
            "upload_time_iso_8601": "2025-07-15T11:30:32.741819Z",
            "url": "https://files.pythonhosted.org/packages/ba/30/4441a2f11411d01361ee321a5710c49cbc88327e5316c07b1d486c0935bd/pytrakt-4.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "bf6d582b06b61ecb59069746d9870265b9fc16d72679bd01d2652bdf01b4c5b5",
                "md5": "80a053d8268a713afcb132f16fb645a3",
                "sha256": "be96047adc47ce84e8e4bd5a2f913c94497ffd32737f4f034734e86413234e68"
            },
            "downloads": -1,
            "filename": "pytrakt-4.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "80a053d8268a713afcb132f16fb645a3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 46950,
            "upload_time": "2025-07-15T11:30:34",
            "upload_time_iso_8601": "2025-07-15T11:30:34.019481Z",
            "url": "https://files.pythonhosted.org/packages/bf/6d/582b06b61ecb59069746d9870265b9fc16d72679bd01d2652bdf01b4c5b5/pytrakt-4.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-15 11:30:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "glensc",
    "github_project": "python-pytrakt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "deprecated",
            "specs": [
                [
                    "~=",
                    "1.2.13"
                ]
            ]
        },
        {
            "name": "requests-oauthlib",
            "specs": [
                [
                    ">=",
                    "1.3"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.25"
                ]
            ]
        },
        {
            "name": "dataclasses",
            "specs": []
        }
    ],
    "lcname": "pytrakt"
}
        
Elapsed time: 2.09728s