-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing Question #3
Comments
Hi @blsmit5728, Anyway you can contact me on skype: z4erre cu |
There should be a couple commits there from today on my fork. No skype, sorry |
trakt/api.py class User(AbstractApi):
@classmethod
def list(cls, user, slug):
"""
returns the Users list that was requested
"""
return cls._get('user/list', user, slug)
@classmethod
def lists(cls, user):
"""
returns the availble lists for a user
"""
return cls._get('user/lists', user)
@classmethod
def profile(cls, user):
return cls._get('user/profile', user)
@classmethod
def progress_collected(cls, user):
return cls._get('user/progress/collected', user) trakt/tests/test_api.py response = User.list(user='justin', slug='Example') and a missing comma in |
If you need any help re open this issue |
I think I'm good, i have a few changes if you'd like me to up stream them I Sent from my iPhone On Sep 18, 2014, at 02:07, Andrea de Marco notifications@github.com wrote: If you need any help re open this issue — |
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 text was updated successfully, but these errors were encountered: