Skip to main content

SYSNET CITES Taxonomy REST API client

Project description

sysnet-taxonomy

Toto je API pro taxonomii CITES

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.1
  • Package version: 1.0.1.001
  • Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

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

pip install taxonomy

Then import the package:

import taxonomy 

Getting Started

Please follow the installation procedure and then run the following:

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

# Configure API key authorization: apiKey
configuration = taxonomy.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = taxonomy.AdminsApi(taxonomy.ApiClient(configuration))
body = taxonomy.TaxonType() # TaxonType | Taxon item to add or update

try:
    # přidá nový taxon
    api_response = api_instance.add_taxon(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AdminsApi->add_taxon: %s\n" % e)

# Configure API key authorization: apiKey
configuration = taxonomy.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = taxonomy.AdminsApi(taxonomy.ApiClient(configuration))
identifier = 'identifier_example' # str | PID nebo celý vědecký název taxonu

try:
    # odstraní existující taxon
    api_instance.delete_taxon(identifier)
except ApiException as e:
    print("Exception when calling AdminsApi->delete_taxon: %s\n" % e)

# Configure API key authorization: apiKey
configuration = taxonomy.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'

# create an instance of the API class
api_instance = taxonomy.AdminsApi(taxonomy.ApiClient(configuration))
body = taxonomy.TaxonType() # TaxonType | Taxon item to add or update
identifier = 'identifier_example' # str | PID nebo celý vědecký název taxonu

try:
    # upraví existující taxon
    api_instance.put_taxon(body, identifier)
except ApiException as e:
    print("Exception when calling AdminsApi->put_taxon: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://service.sysnet.cz/taxonomy/1.0.1

Class Method HTTP request Description
AdminsApi add_taxon POST /taxon přidá nový taxon
AdminsApi delete_taxon DELETE /taxon/{identifier} odstraní existující taxon
AdminsApi put_taxon PUT /taxon/{identifier} upraví existující taxon
DevelopersApi info_api GET /info vrací servisní informace
DevelopersApi info_api_head HEAD /info vrací informaci o dostupnosti služby
PublicApi get_taxon GET /taxon/{identifier} Vrátí konkrétní taxon
PublicApi search_taxons GET /taxon Vrátí seznam taxonů pro pohled nebo výběr

Documentation For Models

Documentation For Authorization

apiKey

  • Type: API key
  • API key parameter name: X-API-KEY
  • Location: HTTP header

Author

rjaeger@sysnet.cz

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

sysnet-taxonomy-1.0.1.1.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

sysnet_taxonomy-1.0.1.1-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file sysnet-taxonomy-1.0.1.1.tar.gz.

File metadata

  • Download URL: sysnet-taxonomy-1.0.1.1.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.8

File hashes

Hashes for sysnet-taxonomy-1.0.1.1.tar.gz
Algorithm Hash digest
SHA256 f087d68fcc8e8d0e886e0257c9a2b037ae3ae452450561c0cb648f64f95b5859
MD5 9f38e0292fced5764108883eeae351f5
BLAKE2b-256 0b3dc1a5d80ec920cd7695fbebbcdda88ff98773933a1924ab707d2542e92316

See more details on using hashes here.

File details

Details for the file sysnet_taxonomy-1.0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sysnet_taxonomy-1.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8035d3e7ddd519718dcef459061ac560cbbd26cdb625754312860f99fac6a487
MD5 6407bd2f1088560f3dd2a3c1e954465c
BLAKE2b-256 f9b7ddf6861f33f1ad7bf9df3947a9346887c53455230b74a74e1c07b4135504

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