Re: [Tutor] Python advice about API, JSON

2014-09-29 Thread Patrick Thunstrom
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 actually appropriate for this list. I'll try to answer the general element

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