Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82445
| Date | 2014-12-13 01:11 +1100 |
|---|---|
| Subject | Python REST API Wrapper framework? |
| From | Alec Taylor <alec.taylor6@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16909.1418393502.18130.python-list@python.org> (permalink) |
It's not overly difficult to build a wrapper of someones RESTfull HTTP API using something like: urllib2 or requests. However, there is still a decent amount of generic boilerplate required. Are there any decent frameworks around which reduce the amount of boilerplate required to consume 3rd-party APIs? # Research results (thus far) So far my research has come up with: ###[Finsh](https://github.com/jaimegildesagredo/finch) >Asynchronous RESTful API consumer for Python. Finch is focused on remove all of the boilerplate related to consuming http based APIs and provide a high level abstraction to develop API clients. ###[Hammock](https://github.com/kadirpekel/hammock) >Hammock is a fun module lets you deal with rest APIs by converting them into dead simple programmatic APIs. ###[Tortilla](https://github.com/redodo/tortilla) >Wrapping web APIs made easy. Tortilla uses a bit of magic to wrap APIs. Whenever you get or call an attribute of a wrapper, the URL is appended by that attribute's name or method parameter. ---- Would be great to get more suggestions + scientific anecdotes =) Thanks
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Python REST API Wrapper framework? Alec Taylor <alec.taylor6@gmail.com> - 2014-12-13 01:11 +1100
csiph-web