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.1.1.tar.gz
(2.7 kB
view details)
Built Distribution
bol-0.1.1-py3-none-any.whl
(3.7 kB
view details)
File details
Details for the file bol-0.1.1.tar.gz
.
File metadata
- Download URL: bol-0.1.1.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 | 4668634d7480c237add9d310a391de88bbb7ec6300a839500cfe32a051571646 |
|
MD5 | 782c2dd097455e28a8f9e20a6e50cf02 |
|
BLAKE2b-256 | 9be3df092a0bdd4b646ed53c1c0cc9842d7b4c75496a66def8dbe8f8b8737b49 |
File details
Details for the file bol-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: bol-0.1.1-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 | fa5e47a250ed19b4a27c4458b995e5602165bd4c344b60d29d0f28c37c1e9c75 |
|
MD5 | c60e717ce76c7c59dc3f7c38c9ebbf31 |
|
BLAKE2b-256 | 16bef60890f90866323203078b8b215726c4cba53e0ea2fc414c06bbd28fcb8f |