Python REST API Wrapper framework?

Alec Taylor alec.taylor6 at gmail.com
Fri Dec 12 09:11:34 EST 2014


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



More information about the Python-list mailing list