[Chicago] REST API to Python Class?

Chris Foresman foresmac at gmail.com
Tue May 2 11:37:01 EDT 2017

Yes, as stated a few times, this _only_ works when the REST API you are trying to access conforms to one of the published standards such as Core JSON, OpenAPI, etc. See here: http://www.coreapi.org <http://www.coreapi.org/>

> On May 2, 2017, at 10:33 AM, Lukasz Szybalski <szybalski at gmail.com> wrote:
> Hello,
> The point that I'm trying to get the structure in a python, without knowing the endopoint nor rest. It would be great if I can then figure out all the calls by using something like dir(myobject) and know twitter has these calls "user_timeline,home_timelin,show,retweets". The point would be not to write any code, and assume things are handled using Post,Get,Put, and auto magically figure out parameters either from swagger docs, or endpoints themself.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20170502/617cc80d/attachment.html>

More information about the Chicago mailing list