Wrapper for the SimpliRoute service API
Project description
PySimpliRoute
=======
Wrapper for the SimpliRoute service API
Installation
------------
::
pip3 install pysimpliroute
Usage
-----
::
from pysimpliroute import simpliroute as sr
client = sr.Client(token='token_from_perfil')
params = {
"order": 1,
"title": "Dansanti Test1",
"address": "Parcela 19, culiprán, Melipilla, Chile",
"latitude": "-33.774290",
"longitude": "-71.250123",
"contact_name": "Daniel",
"contact_phone": "+123413123212",
"contact_email": "apu@example.com",
"reference": "invoice_id",
"notes": "Leave at front door",
"planned_date": "2018-08-19",
"window_start": "19:00",
}
client.send_visit(params)
=======
Wrapper for the SimpliRoute service API
Installation
------------
::
pip3 install pysimpliroute
Usage
-----
::
from pysimpliroute import simpliroute as sr
client = sr.Client(token='token_from_perfil')
params = {
"order": 1,
"title": "Dansanti Test1",
"address": "Parcela 19, culiprán, Melipilla, Chile",
"latitude": "-33.774290",
"longitude": "-71.250123",
"contact_name": "Daniel",
"contact_phone": "+123413123212",
"contact_email": "apu@example.com",
"reference": "invoice_id",
"notes": "Leave at front door",
"planned_date": "2018-08-19",
"window_start": "19:00",
}
client.send_visit(params)
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
pysimpliroute-0.1.0.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file pysimpliroute-0.1.0.tar.gz
.
File metadata
- Download URL: pysimpliroute-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40dedaa7b08225b8394f8e219dbf5a698068768a00bbd2f0109150c59b49e133 |
|
MD5 | 5c04c1a4b9b3bc3a5a892f08ae86685f |
|
BLAKE2b-256 | 086a524f3a459b56a0d74b7c214b6e9d57d6d5a7d17463930959a5bbe785f7a2 |
File details
Details for the file pysimpliroute-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pysimpliroute-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 901c293408a39bc6da923e503a6758df3f1b2fd22acc8678de3c1c4e62f0fd16 |
|
MD5 | 095622bd945d5dac0d2440685481127d |
|
BLAKE2b-256 | e054829bfa08220ed1cdcdbcb42fec4121598cf3bbc5289bc4ebecc83eabc5cf |