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.3.0.tar.gz
(3.6 kB
view details)
Built Distribution
bol-1.3.0-py3-none-any.whl
(3.9 kB
view details)
File details
Details for the file bol-1.3.0.tar.gz
.
File metadata
- Download URL: bol-1.3.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a89cb600526d39bf44e43403718885d8d4504e5c05baca1d5f6323673f34dad7 |
|
MD5 | 0c6f1fd43f6f96d59cf9858678c80523 |
|
BLAKE2b-256 | 979a515f35dcec87f049fa6c6f710b3db1f7161475c65dbae97d93c0daf26cd5 |
File details
Details for the file bol-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: bol-1.3.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1102355fcebc90c6816b80915bd561477a6411b11f0206a8bd24a996bc0d508f |
|
MD5 | 408726185d15720df81c79c1cf8850f8 |
|
BLAKE2b-256 | b2e7b5dcd090845ebb87eecd3de6ca8102f7df25bfae7400d4ad77ecb337c068 |