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.2.tar.gz
(3.6 kB
view details)
Built Distribution
bol-1.3.2-py3-none-any.whl
(4.0 kB
view details)
File details
Details for the file bol-1.3.2.tar.gz
.
File metadata
- Download URL: bol-1.3.2.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 | 798f1aa1f1f0dcad2d31b39b235ec94ec7aae14f16c4e2dff4005a0c1cb70d4c |
|
MD5 | 3ab7cfde8d39e07c70581f2a2abab142 |
|
BLAKE2b-256 | 8b1c3c6ca9f33f66d31a9b3120c9e235e2b78597cb6c743f755f826e00dc0420 |
File details
Details for the file bol-1.3.2-py3-none-any.whl
.
File metadata
- Download URL: bol-1.3.2-py3-none-any.whl
- Upload date:
- Size: 4.0 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 | 64c8de9a4a0a288341e4d6363bd4457fa0de537ec911492a9872ce734a671029 |
|
MD5 | 107898740aaea37b21860c3f54a53d38 |
|
BLAKE2b-256 | b614dc7d5b3b81e5dd51b4b0ac1f0551fadf09792a6180d59c9c2c9688dfbd43 |