z4r / python-trakt Goto Github PK
View Code? Open in Web Editor NEWThis package provides a module to interface with the trakt.tv api
License: Other
This package provides a module to interface with the trakt.tv api
License: Other
Had to import "trakt.tv" in order to call any methods. A non-issue but the README should be updated. Thanks again.
>>> import trakt
>>> trakt.tv.setup(apikey=00000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'tv'
>>> dir(trakt)
['__author__', '__builtins__', '__cached__', '__classifiers__', '__copyright__', '__doc__', '__docformat__', '__file__', '__initializing__', '__license__', '__loader__', '__name__', '__package__', '__path__', '__version__']
>>> import trakt.tv
>>> dir(trakt.tv)
['Calendar', 'Search', 'Server', 'Show', 'Shows', '__builtins__', '__cached__', '__doc__', '__file__', '__initializing__', '__loader__', '__name__', '__package__', 'calendar', 'hashlib', 'os', 'reset', 'search', 'server', 'setup', 'show', 'shows']
I have been working on adding more to your API and was trying to figure out the whole testing method you have implemented. I tried adding a method for user/list to the tests but it kept failing the json parsing (I added a list.json under responses/user/ folder). I'd like to contribute to making this API more robust, but I don't want to issue a pull request until I can run the same unit tests you have implemented. Thanks.
PS: didn;t know how to contact you, figured this was the easiest.
The documentation states that for TVShows the tvdb_id could be used but I can't seem to figure it out. There are no examples of this functionality. I've looked at the code and don't see how it is to be done.
Hi this is a great little module, I tried installing with sudo pip3 ...
but some errors are raised. Is it possible to support python 3 as well?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.