Writing a module to abstract a REST api

Laura Creighton lac at openend.se
Thu Sep 17 18:41:35 CEST 2015


In a message of Thu, 17 Sep 2015 14:44:00 -0000, "Joseph L. Casale" writes:
>I need to write a module to abstract the RabbitMQ HTTP REST api.
>Before I do this, I would like to see how other projects have done
>similar in the hopes I make something consistent and generic etc.
>
>Does anyone regularly work with a library that abstracts a REST API
>and can recommend it for review?
>
>Thanks,
>jlc

If I understand you:
http://www.python-requests.org/en/latest/

is an example of what you are looking for?

It's great.

Also check out
http://cramer.io/2014/05/20/mocking-requests-with-responses/

if you need to mock requests.

Laura


More information about the Python-list mailing list