# 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)
Release files for endpoint-api-client 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| endpoint_api_client-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / endpoint_api_client-0.0.2-py3-none-any.whl
| Download URL | endpoint_api_client-0.0.2-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
949ccb4a2d468dc3413d89b462ce9da2646fcb4a1dedd7ae24ee9c8b125da4be
|
|
BLAKE2b-256 checksum How to use checksums |
a8fbdf30f3a113cabfa9f7f641bc560fc84865d72c6ae0a18d24029994402c4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|