A bol.com api connector
Project description
Bol.com api connector in python
install
pip install git+ssh://git@gitlab.com/aapjeisbaas/bol.git
This may change in the future, I plan to eventualy release this on PyPi.org
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}]}]}
>>>
>>>
Requirements
Requiremtents were generated as follows:
pip freeze --exclude-editable > requirements.txt
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.0.1.tar.gz
(2.8 kB
view details)
Built Distributions
bol-0.0.1-py3.7.egg
(3.6 kB
view details)
bol-0.0.1-py3-none-any.whl
(3.7 kB
view details)
File details
Details for the file bol-0.0.1.tar.gz
.
File metadata
- Download URL: bol-0.0.1.tar.gz
- Upload date:
- Size: 2.8 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 | d6c58e730412e49da891c47d5f0504c64db48e48ae660b40aae0b6c64fc287d6 |
|
MD5 | f424f44960a8ac27ce9a0c82eb07018b |
|
BLAKE2b-256 | 39063a66e3e583673cc590ce2ce7d43f929dd8dc72dcb1cd93ac99bb6fa6e222 |
File details
Details for the file bol-0.0.1-py3.7.egg
.
File metadata
- Download URL: bol-0.0.1-py3.7.egg
- 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 | 05aa6c28afd16d098bb5dcd1a8edded64176cb4620fc65729284fb7dafd61622 |
|
MD5 | 30af6c92223c880efe32255d38c6218d |
|
BLAKE2b-256 | 37761f10913d1981d6f6c71842a9422218095472ef64c5592bd417dd431a886a |
File details
Details for the file bol-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: bol-0.0.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 | 06af9efe8d49aaa36361e2b35b34e53a3953d5a2fdab03b8e1157cf09cf89cd7 |
|
MD5 | af4e8f5c5fd7279b0e7299c6c5aa06d1 |
|
BLAKE2b-256 | aae23c4c93d7fecd1dd1979e237fc36783014e5d9c43fec91954b00beca0be3c |