Python SDK for Aplazame REST API
Project description
Aplazame Python Sdk
Aplazame, a consumer credit company, offers a payment system that can be used by online buyers to receive funding for their purchases.
Installation
To install aplazame-sdk, simply:
$ pip install aplazame-sdk
Usage
>>> import aplazame_sdk
>>> client = aplazame_sdk.Client('token', sandbox=True, version='1', ctype='json')
>>> r = client.orders(page=2)
>>> r.json()
{
"cursor": {
"after": 3,
"before": 1
},
"paging": {
"count": 314,
"next": "https://api.aplazame.com/orders?page=3",
"previous": "https://api.aplazame.com/orders?page=1"
},
"results": [
]
}
>>> r.status_code
200
Http
GET /orders HTTP/1.1
Accept: application/vnd.aplazame.sandbox.v1+json
Authorization: Bearer ->token<-
Host: api.aplazame.com
HTTP/1.1 200 OK
Content-Type: application/vnd.aplazame.sandbox.v1+json
Documentation
Documentation is available at docs.aplazame.com.
Change Log
0.2.3 (2015-10-13)
Payments
Merchant requests
Tests
0.2.2 (2015-09-15)
Fix lists kwargs
Add /me and operations
ci pull request strategy
ci publish on pypi
ci package versioning
0.2.1 (2015-08-24)
ci deploy master
Simulator request
Fix minor errors
0.2.0 (2015-07-20)
Makefile
ci with drone.io
Coverage 100%
Test and build requirements
Add badges
Get method params strategy
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aplazame-sdk-0.2.3.tar.gz
(8.4 kB
view hashes)
Built Distribution
Close
Hashes for aplazame_sdk-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ee407a942ef76e6ab425947db44543c1dd7a07807541fdefdc5975230b662ab |
|
MD5 | 5c70c20e4b675f425786ad3846b96de2 |
|
BLAKE2b-256 | 574977af608c2c31c038975c06a157d08ffd56f9da7f01e5d4d9dbabec1accb5 |