Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96775

Re: Writing a module to abstract a REST api

From Laura Creighton <lac@openend.se>
Subject Re: Writing a module to abstract a REST api
References <1b35c9c9b6864d7bb9bf11e0e3cb98ca@exch.activenetwerx.com>
Date 2015-09-17 18:41 +0200
Newsgroups comp.lang.python
Message-ID <mailman.0.1442508106.16376.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Writing a module to abstract a REST api Laura Creighton <lac@openend.se> - 2015-09-17 18:41 +0200

csiph-web