Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

endpoint_api_client-0.0.2-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page