A bol.com api connector
Project description
Bol.com api connector in python
install
pip install bol
Login to the api from your project
import bol
BolShop = bol.Client(client_id='d75*****779', client_secret='AK6****quP')
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.
>>> import 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}]}]}
>>>
>>>
Stability?
It's pretty stable it has been running production for about a year on version 0.1.4
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-1.2.0.tar.gz
(3.6 kB
view details)
Built Distribution
bol-1.2.0-py3-none-any.whl
(4.0 kB
view details)
File details
Details for the file bol-1.2.0.tar.gz
.
File metadata
- Download URL: bol-1.2.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa35cacd48907201cd34e4c2f9c117db2e9ace1b4a987ff6cbf124405c6e763a |
|
MD5 | c2065f97f17fad2cd3d7aac148763d5f |
|
BLAKE2b-256 | c2ff58fdee02e090c2d6e8babf198314b28123955c7bf365240f79b272ea113e |
File details
Details for the file bol-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: bol-1.2.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805d888f515d29354581e138ea7bd22bf849e448bbe182bfba99fa8a26bf5a4d |
|
MD5 | b1896fcac8ccdae370e4d7da7822913f |
|
BLAKE2b-256 | 34648717b03cfd328ba2d37e0351ae189956f13f242182453a400fbf7bcf3858 |