This module implements API-client to storage-endpoint
Project description
# endpoint-api-client
All commands have to be run in project root directory:
cd banks_storage/
## Installation
pip install endpoint-api-client
## Usage from client import StorageAPI
your_api_url_endpoint = ‘http://something.com/collection/’
headers = {**StorageAPI.DEFAULT_HEADERS, ‘foo’: ‘bar’,} # optional
storage_client = StorageAPI(your_api_url_endpoint, headers)
#### GET # Methods returns “requests.Response” instances
get_response = storage_client.get_documents()
#### POST your_document = {‘field’: 1, ‘another_field’: [‘baz’, ‘bar’,]}
post_response = storage_client.post_document(some_doc)
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file endpoint_api_client-0.0.2-py3-none-any.whl.
File metadata
- Download URL: endpoint_api_client-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
949ccb4a2d468dc3413d89b462ce9da2646fcb4a1dedd7ae24ee9c8b125da4be
|
|
| MD5 |
16596944acc7369bf8a92cb3011ccc8c
|
|
| BLAKE2b-256 |
a8fbdf30f3a113cabfa9f7f641bc560fc84865d72c6ae0a18d24029994402c4e
|