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.0.0.tar.gz
(3.0 kB
view details)
Built Distribution
bol-1.0.0-py3-none-any.whl
(4.0 kB
view details)
File details
Details for the file bol-1.0.0.tar.gz
.
File metadata
- Download URL: bol-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48993bf48b5320a840421cc6e6c876d65cd7d6391a59649e3b3d3ba31e264a75 |
|
MD5 | 931588c0093d08932675d2fc453f897a |
|
BLAKE2b-256 | a2a4e3f03f04ce7b52afd4a7a24304f3f9857a0bc889d7bdefc62af7a6d2bdf2 |
File details
Details for the file bol-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: bol-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f15f9d41717b268178b537e787cebfd61607c29abd29717510d5b22006b38ea0 |
|
MD5 | 84890f6f7e5fabe21fd922e1600c9538 |
|
BLAKE2b-256 | 913a5ad8380b556a3bfeb6e8af37bd7d52ab42974aac9fe290703d53d5749a2f |