[Tutor] Python advice about API, JSON
Juan Christian
juan0christian at gmail.com
Mon Sep 22 22:30:23 CEST 2014
On Mon, Sep 22, 2014 at 5:10 PM, Patrick Thunstrom <pathunstrom at gmail.com>
wrote:
> On Mon, Sep 22, 2014 at 4:01 PM, Juan Christian
> <juan0christian at gmail.com> 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 elements.
But I do want the "general" approach, I just talked about the API I'm using
for the sake of example.
I don't need multiple versions of the class API, I would have only one. I
would need multiple instances, because I have a person class, movie class
and serie class, and each of them would need their API obj.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140922/9f8627bf/attachment.html>
More information about the Tutor
mailing list