Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96776
| Path | csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone03.am1.xlned.com!bcyclone03.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail |
|---|---|
| Return-Path | <jcasale@activenetwerx.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.015 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'great.': 0.07; 'cc:addr :python-list': 0.09; 'implemented.': 0.09; 'subject:Writing': 0.09; 'subject:module': 0.09; 'received:172.18.0': 0.16; 'subject:api': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'for?': 0.23; 'thanks,': 0.24; 'examples': 0.24; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'example': 0.26; 'rest': 0.26; 'good.': 0.32; 'interact': 0.35; 'something': 0.35; 'url:org': 0.36; 'modules': 0.36; 'subject:: ': 0.37; 'url:en': 0.39; 'url:2014': 0.66; 'services.': 0.72; 'you:': 0.79; 'url:latest': 0.91 |
| X-Authority-Analysis | v=2.1 cv=av94c3tV c=1 sm=1 tr=0 a=g3mLq75WYuDrh3Lt0JSDww==:117 a=g3mLq75WYuDrh3Lt0JSDww==:17 a=QC7fh9NfAAAA:8 a=5pFAO2ZBLFIA:10 a=8nJEP1OIZ-IA:10 a=ff-B7xzCdYMA:10 a=3lewGKlCAAAA:8 a=owC0bhTBAAAA:8 a=1MYpwnNRyyjN_aOjAewA:9 a=wPNLvfGTeEIA:10 a=00phc2pgGzYA:10 a=N8Mj0xOoirIA:10 |
| X-Spam-Checker-Version | SpamAssassin 3.4.0 (2014-02-07) on mail.activenetwerx.com |
| X-Spam-Level | * |
| X-Spam-Status | No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=no autolearn_force=no version=3.4.0 |
| From | "Joseph L. Casale" <jcasale@activenetwerx.com> |
| To | Laura Creighton <lac@openend.se> |
| CC | "python-list@python.org" <python-list@python.org> |
| Subject | Re: Writing a module to abstract a REST api |
| Thread-Topic | Writing a module to abstract a REST api |
| Thread-Index | AQHQ8VdKzAS7nkl7nU2AayZu81Yu155BUVSA//+x4IM= |
| Date | Thu, 17 Sep 2015 18:04:39 +0000 |
| References | <201509171641.t8HGfZjb008471@fido.openend.se> |
| In-Reply-To | <201509171641.t8HGfZjb008471@fido.openend.se> |
| Accept-Language | en-US |
| Content-Language | en-US |
| X-MS-Has-Attach | |
| X-MS-TNEF-Correlator | |
| x-ms-exchange-transport-fromentityheader | Hosted |
| x-originating-ip | [72.29.233.193] |
| Content-Type | text/plain; charset="iso-8859-1" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-CMAE-Envelope | MS4wfJ9fw1nSpkVenWbh9Q1rkQayaNBGdCe7hZoVmuDM/SLNThwxv6uXhlSzYHA9GMmkO+o3L2hByU7NWlvuIwO4Kj6cnysxyMoMaVDfP9eVTMh339YuMWQNvDDz8NkOU/cSPW67esS50MxIxsaOsTyxT57Y+GBAx4yt4qovfdnGGjTQcTZUqfbZrf9yE5wqWpq9jg== |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4.1442513245.16376.python-list@python.org> (permalink) |
| Lines | 20 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1442513245 news.xs4all.nl 23755 [2001:888:2000:d::a6]:47375 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3894 |
| X-Received-Body-CRC | 3920120701 |
| Xref | csiph.com comp.lang.python:96776 |
Show key headers only | View raw
> 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. Hi Laura, The twitter samples Jon sent were good. What I am after is examples of modules that are written to interact with REST services. Its just not something I have written a module for and I am keen to see how well written modules have been implemented. Thanks, jlc
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Writing a module to abstract a REST api "Joseph L. Casale" <jcasale@activenetwerx.com> - 2015-09-17 18:04 +0000
csiph-web