Skip to content
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

Add movie support, quite a bit of cleanup #6

Merged
merged 6 commits into from
Mar 20, 2016

Conversation

mattsch
Copy link
Contributor

@mattsch mattsch commented Mar 20, 2016

Not sure where you're wanting to go with this, but I needed the ability to do movie searches so I dug in. Ended up doing quite a bit more than I intended so here's the high points:

  • Tests now use httptest server with local response files
  • Lots of test updates, including new imdb attributes and verbiage
  • Added all of the stock movie/tv category constants (4K isn't official yet so I've held off)
  • Added methods to search via imdb and tvdb
  • Updated all methods to use a slice of category id's to enable multiple category searches
  • Updated README

mattsch added 6 commits March 19, 2016 00:45
* Local responses in tests/fixtures/api/
* Added various extra attributes
* Added SearchWithTVDB method
* Restructured tests to be able to add movie stuff next
* Make the test verbage more goconvey-y
* Rename the `category` Client.Searc* param to `categories`
* New `categories` param is now a slice of ints
* Add splitCats method to the Client
@mrobinsn mrobinsn self-assigned this Mar 20, 2016
@mrobinsn
Copy link
Owner

Excellent, LGTM

mrobinsn pushed a commit that referenced this pull request Mar 20, 2016
Add movie support, quite a bit of cleanup
@mrobinsn mrobinsn merged commit 64b7a7f into mrobinsn:master Mar 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants