scieloapi.py
============
Thin wrapper around the SciELO Ratchet RESTful API.
Use license
-----------
This project is licensed under FreeBSD 2-clause. See `LICENSE` for more details.
History
=======
0.6
---
* Added `Client.query` method to query a given endpoint.
0.5 (2014-02-10)
----------------
* Added `tox.ini` to help the porting to Python3.3.
* Support for https (without verifiying CA).
* Added `Content-Type: application/json` HTTP header to all post requests.
* Added a do-nothing logger handler by default.
0.4 (2013-08-30)
----------------
* Params are sorted by key before the GET request is dispatched. This minor
change aims to improve server-side caching capabilities.
* Minor changes to the API of the function `httpbroker.get`. It now accepts a `auth` kwarg
to handle server-side authentication.
* Minor changes to `scieloapi.Connector`:
* A custom http broker can be passed as `http_broker` kwarg during init.
* Http methods are created dinamically during initialization, with user credentials bound
into it. Api_key is no longer maintained by the instance.
* `Client.fetch_relations` now accepts the param `only` to specify a subset of relations to fetch.
* Now the User-Agent is set to `scieloapi/:version`.
* The module `scieloapi.scieloapi` was renamed to `scieloapi.core` to make things clearer.
* Added POST method capabilities on endpoints.
* Added the exception `exceptions.MethodNotAllowed` to represent 405 status code.
0.3 (2013-08-02)
----------------
* Added more unit tests (Now at 73% of code coverage).
* Minor adjusts at `setup.py` installation script.
* New exceptions to represent http status codes.
* Better documentation at `http://docs.scielo.org/projects/scieloapipy/`.
0.2 (2013-07-26)
----------------
* Slumber dependency was removed. The module `scieloapi.httpbroker` was created
to deal with http requests and responses.
* Better test reports now using Nosetests + coverage.
* Added method `Client.fetch_relations` to fetch all first-level relations of
a document and replace the value by the full document.
============
Thin wrapper around the SciELO Ratchet RESTful API.
Use license
-----------
This project is licensed under FreeBSD 2-clause. See `LICENSE` for more details.
History
=======
0.6
---
* Added `Client.query` method to query a given endpoint.
0.5 (2014-02-10)
----------------
* Added `tox.ini` to help the porting to Python3.3.
* Support for https (without verifiying CA).
* Added `Content-Type: application/json` HTTP header to all post requests.
* Added a do-nothing logger handler by default.
0.4 (2013-08-30)
----------------
* Params are sorted by key before the GET request is dispatched. This minor
change aims to improve server-side caching capabilities.
* Minor changes to the API of the function `httpbroker.get`. It now accepts a `auth` kwarg
to handle server-side authentication.
* Minor changes to `scieloapi.Connector`:
* A custom http broker can be passed as `http_broker` kwarg during init.
* Http methods are created dinamically during initialization, with user credentials bound
into it. Api_key is no longer maintained by the instance.
* `Client.fetch_relations` now accepts the param `only` to specify a subset of relations to fetch.
* Now the User-Agent is set to `scieloapi/:version`.
* The module `scieloapi.scieloapi` was renamed to `scieloapi.core` to make things clearer.
* Added POST method capabilities on endpoints.
* Added the exception `exceptions.MethodNotAllowed` to represent 405 status code.
0.3 (2013-08-02)
----------------
* Added more unit tests (Now at 73% of code coverage).
* Minor adjusts at `setup.py` installation script.
* New exceptions to represent http status codes.
* Better documentation at `http://docs.scielo.org/projects/scieloapipy/`.
0.2 (2013-07-26)
----------------
* Slumber dependency was removed. The module `scieloapi.httpbroker` was created
to deal with http requests and responses.
* Better test reports now using Nosetests + coverage.
* Added method `Client.fetch_relations` to fetch all first-level relations of
a document and replace the value by the full document.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ratchetapi-0.6.tar.gz
(8.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ratchetapi-0.6-py2-none-any.whl
(10.9 kB
view details)
File details
Details for the file ratchetapi-0.6.tar.gz.
File metadata
- Download URL: ratchetapi-0.6.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2335eb0f43f7d1b91eb28a54057273090af2f34758f8e8d41709fff9d516f6fc
|
|
| MD5 |
42cf4eceeb1ec505b692826fc3bf78c4
|
|
| BLAKE2b-256 |
2337a8a298ca1ce4237a68fe57aff2a5dec814541449e2939a485e752b5dcf09
|
File details
Details for the file ratchetapi-0.6-py2-none-any.whl.
File metadata
- Download URL: ratchetapi-0.6-py2-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62126c966e3e2da1ad9e1de9a1e887d689a5f94549557dd3ee7a91d60b677b28
|
|
| MD5 |
ad297881005f030c1834f1243c0e68c7
|
|
| BLAKE2b-256 |
c3791a869e2f81228889a8baa2e34d8aa3f2ad7a07a7af2612863d915363d941
|