bulv1ne / CanIStreamIt

Can I Stream It python api
http://www.canistream.it/
MIT License
42 stars 9 forks source link

Could the examples use some updating? #4

Open neatville opened 7 years ago

neatville commented 7 years ago

The first example does return results. The second one, however, gives me empty results and then an error when I see what purchasing options are available.

In [16]: search_list = search('V For Vendetta')
    ...: movie = search_list[0]
    ...: 

In [17]: streaming(movie['_id'])
Out[17]: []

In [18]: rental(movie['_id'])
Out[18]: []

In [19]: purchase(movie['_id'])
---------------------------------------------------------------------------
JSONDecodeError                           Traceback (most recent call last)  

I was also going to say that it LOOKS like TV shows still aren't added. I guess that's their decision.

search('Better Call Saul')[0] # returns a movie called 'The Quarrel'