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
Metadata
Release files for sysnet-taxonomy 1.0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sysnet-taxonomy-1.0.1.1.tar.gz | 23.5 kB | Without provenance | Details for sysnet-taxonomy-1.0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sysnet_taxonomy-1.0.1.1-py3-none-any.whl | Python 3 | none | any | Details for sysnet_taxonomy-1.0.1.1-py3-none-any.whl |
Total release size: 61.8 kB
Release files / sysnet-taxonomy-1.0.1.1.tar.gz
| Download URL | sysnet-taxonomy-1.0.1.1.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f087d68fcc8e8d0e886e0257c9a2b037ae3ae452450561c0cb648f64f95b5859
|
|
BLAKE2b-256 checksum How to use checksums |
0b3dc1a5d80ec920cd7695fbebbcdda88ff98773933a1924ab707d2542e92316
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.8
|
Release files / sysnet_taxonomy-1.0.1.1-py3-none-any.whl
| Download URL | sysnet_taxonomy-1.0.1.1-py3-none-any.whl |
|---|---|
| Size | 38.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8035d3e7ddd519718dcef459061ac560cbbd26cdb625754312860f99fac6a487
|
|
BLAKE2b-256 checksum How to use checksums |
f9b7ddf6861f33f1ad7bf9df3947a9346887c53455230b74a74e1c07b4135504
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.8
|
Security for sysnet-taxonomy 1.0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.