Re: [Tutor] print date and skip any repeats

2014-09-22 Thread questions anon
Thank you for your help. Using your feedback and adding the input dates and the output dates into lists. It seems to work although I am not sure if this is the correct/fastest/pythonic way to go about it. As I said it works... I have pasted below if anyone else needs something similar thanks for yo

Re: [Tutor] Python advice about API, JSON

2014-09-22 Thread Juan Christian
On Mon, Sep 22, 2014 at 5:10 PM, Patrick Thunstrom wrote: > On Mon, Sep 22, 2014 at 4:01 PM, Juan Christian > wrote: > > I'm trying to make my script the more pythonic possible. How would a good > > approach regarding external API and json be? > > I don't think dealing with a specific API is act

[Tutor] Python advice about API, JSON

2014-09-22 Thread Juan Christian
I'm trying to make my script the more pythonic possible. How would a good approach regarding external API and json be? I'm calling this API (http://docs.themoviedb.apiary.io/) using 'requests'. The thing is that I need to do a bunch of different calls to the API: - http://api.themoviedb.org/3/per