Skip to main content

Bunker OpenAPI Specification

Project description

openapi-client

An OpenAPI specification for Bunker Service

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import openapi_client 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import openapi_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openapi_client.BunkerApi(openapi_client.ApiClient(configuration))
person = openapi_client.Person() # Person | The user to create (optional)

try:
    api_response = api_instance.create_person(person=person)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BunkerApi->create_person: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:8080/v1

Class Method HTTP request Description
BunkerApi create_person POST /persons
BunkerApi delete_document DELETE /persons/{person_id}/documents/{document_id}
BunkerApi delete_face DELETE /persons/{person_id}/faces/{face_id}
BunkerApi delete_person DELETE /persons/{person_id}
BunkerApi delete_scan DELETE /persons/{person_id}/scans/{scan_id}
BunkerApi get_document GET /persons/{person_id}/documents/{document_id}
BunkerApi get_face GET /persons/{person_id}/faces/{face_id}
BunkerApi get_person GET /persons/{person_id}
BunkerApi get_scan GET /persons/{person_id}/scans/{scan_id}
BunkerApi request_scan POST /persons/{person_id}/scans/
BunkerApi upload_document POST /persons/{person_id}/documents/
BunkerApi upload_face POST /persons/{person_id}/faces/

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key
  • API key parameter name: apikey
  • Location: HTTP header

Author

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

bunker-1.0.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file bunker-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bunker-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0

File hashes

Hashes for bunker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 306e81595106062c9f576e006982b7a5ccafa6534ff6711a77d3e107d1c8bade
MD5 b5c35f7490730c768587f7fa22ff9345
BLAKE2b-256 dffeea67e926a739865b0f3b30fc43293d6395b540b0681341b6979ec43cc0e3

See more details on using hashes here.

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