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


Groups > comp.lang.python > #96775 > unrolled thread

Re: Writing a module to abstract a REST api

Started byLaura Creighton <lac@openend.se>
First post2015-09-17 18:41 +0200
Last post2015-09-17 18:41 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#96775 — Re: Writing a module to abstract a REST api

FromLaura Creighton <lac@openend.se>
Date2015-09-17 18:41 +0200
SubjectRe: Writing a module to abstract a REST api
Message-ID<mailman.0.1442508106.16376.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web