A bol.com api connector
Project description
Bol.com api connector in python
install
pip install bol
include
from bol import client as bol
Example
Python 3.7.4 (default, Oct 4 2019, 06:57:26)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from bol import client as bol
>>> BolShop = bol.Client(client_id='d75*****779', client_secret='AK6****quP')
logging in
>>> BolShop.
BolShop.client_id BolShop.client_secret BolShop.session BolShop.token
>>> BolShop._
BolShop._get( BolShop._login( BolShop._orders( BolShop._post(
>>> BolShop._orders()
{'orders': [{'orderId': '26000000', 'dateTimeOrderPlaced': '2019-11-23T18:59:46+01:00', 'orderItems': [{'orderItemId': '2300004', 'ean': '5000000', 'cancelRequest': False, 'quantity': 1}]}]}
>>>
>>>
Disclaimer
At this moment, the project is alpha bleeding edge unstable software!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bol-0.0.2.tar.gz
(2.7 kB
view details)
Built Distribution
bol-0.0.2-py3-none-any.whl
(3.7 kB
view details)
File details
Details for the file bol-0.0.2.tar.gz
.
File metadata
- Download URL: bol-0.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00bbdc13a52842767b71da3dbff331116a1cd158a7e441f17243d33a68393315 |
|
MD5 | eecc34d1d9741a699a10a294db54b39b |
|
BLAKE2b-256 | 2af1d84c18a5514f3d6dcfa1620430c101fda24d785ff2eda4b1589eae421512 |
File details
Details for the file bol-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: bol-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad0e045d28c88cbeef43a7aa852554917f91f64cfd2fd193d6f838ec83c46c90 |
|
MD5 | abc3cb8be6d52730622f78d7d5b63545 |
|
BLAKE2b-256 | 2f47775ca8fa38caa6cf61e9e4eee29de4b6f3dd085b5be32894a5a8c1c9f9c1 |