Code Monkey home page Code Monkey logo

python-trakt's People

Contributors

vicharas avatar z4r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

python-trakt's Issues

Must 'import trakt.tv' instead of 'import trakt'

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']

Testing Question

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.

Python3 Support

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.