[Chicago] REST API to Python Class?
Lukasz Szybalski
szybalski at gmail.com
Tue May 2 11:33:13 EDT 2017
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.
"
*Timelines*
- GET/statuses/mentions_timeline.json
<https://apigee.com/embed/console/twitter#twitter#0>
- GET/statuses/user_timeline.json
<https://apigee.com/embed/console/twitter#twitter#1>
- GET/statuses/home_timeline.json
<https://apigee.com/embed/console/twitter#twitter#2>
*Tweets*
- GET/statuses/retweets/{id}.json
<https://apigee.com/embed/console/twitter#twitter#3>
- GET/statuses/show/{id}.json
<https://apigee.com/embed/console/twitter#twitter#4>
- POST/statuses/destroy/{id}.json
<https://apigee.com/embed/console/twitter#twitter#5>"
Thanks
Lucas
>
>>>>
>>>>
>>>>
>>>> --
>>>> LucasManual.com
>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20170502/e0ada330/attachment.html>
More information about the Chicago
mailing list