A client for http://appeau.api.vignevin-epicure.com API
Project description
# Description
Un client Python pour l’API appeau, généré à partir du fichier de description suivant la spec OpenAPI 3.0. Il nécessite une version de python >= 3.8, pour le typage des dictionnaires.
# Build & Install
Pour générer le module, suivre ce lien: https://docs.python.org/fr/3.8/distutils/introduction.html#distutils-simple-example
En synthèse: `shell python setup.py sdist # à la racine, voir https://docs.python.org/fr/3/distutils/sourcedist.html pour les formats d'archive possible ` puis, par défaut dans /dist, et après extraction de l’archive, à la racine: `shell python setup.py install ` # Exemple
`python import sample.login_check_post import sample.api_parcelles_get_collection response = sample.login_check_post.login_check_post(host = 'http://appeau.api.vignevin-epicure.com', body_parameters = {"username": 'vitisexplorer',"password": 'Ajfkmdkp34'}) token = response.json() print(token['token']) parcelles = sample.api_parcelles_get_collection.api_parcelles_get_collection('http://appeau.api.vignevin-epicure.com', headers = {"Authorization": "Bearer " + token['token']}) print(parcelles.json()) `
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file appeau_client-0.2.0.tar.gz
.
File metadata
- Download URL: appeau_client-0.2.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cec76794050c2fca436e1505ddeae977a3403d6bd107f47e103185ce5f82c92b |
|
MD5 | 57fa4db5bd422276e552df8c6fd2db66 |
|
BLAKE2b-256 | c0d79a37ec2b246409c5a137de78aea24cd12cbf17a5f606b329129e450ddaf8 |
File details
Details for the file appeau_client-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: appeau_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e61429a5fec7825206808e07eafb58f775efdd0fb21aab882767b3f16626a1 |
|
MD5 | 1adc290e4ec5845695558f61c345d88a |
|
BLAKE2b-256 | 176dca1a78350badd207a3cf7deb132d7966e64347b54229b520932ccd8b8320 |