citesdoc
Toto je API pro Domino konektor ostatních dokumentů CITES
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0.002
- 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 sysnet-citesdoc
Then import the package:
import citesdoc
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import citesdoc
from citesdoc.rest import ApiException
from pprint import pprint
# Configure API key authorization: apiKey
configuration = citesdoc.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 = citesdoc.AdminsApi(citesdoc.ApiClient(configuration))
doc_code = citesdoc.DocumentCode() # DocumentCode |
try:
# Odstraní položku šablony PDF (cruD)
api_instance.delete_template(doc_code)
except ApiException as e:
print("Exception when calling AdminsApi->delete_template: %s\n" % e)
# Configure API key authorization: apiKey
configuration = citesdoc.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 = citesdoc.AdminsApi(citesdoc.ApiClient(configuration))
doc_code = citesdoc.DocumentCode() # DocumentCode |
try:
# Vrátí šablonu PDF (cRud)
api_response = api_instance.get_template(doc_code)
pprint(api_response)
except ApiException as e:
print("Exception when calling AdminsApi->get_template: %s\n" % e)
# Configure API key authorization: apiKey
configuration = citesdoc.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 = citesdoc.AdminsApi(citesdoc.ApiClient(configuration))
try:
# Vrací seznam šablon
api_response = api_instance.get_template_list()
pprint(api_response)
except ApiException as e:
print("Exception when calling AdminsApi->get_template_list: %s\n" % e)
# Configure API key authorization: apiKey
configuration = citesdoc.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 = citesdoc.AdminsApi(citesdoc.ApiClient(configuration))
body = citesdoc.TemplateType() # TemplateType | Definice šablony (optional)
try:
# Zavede novou položku šablony (Crud)
api_instance.post_template_item(body=body)
except ApiException as e:
print("Exception when calling AdminsApi->post_template_item: %s\n" % e)
# Configure API key authorization: apiKey
configuration = citesdoc.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 = citesdoc.AdminsApi(citesdoc.ApiClient(configuration))
doc_code = citesdoc.DocumentCode() # DocumentCode |
body = citesdoc.Object() # Object | Upload soubor PDF nebo JRXML, případně ZIP u vícesouborové šablony (optional)
enclosure = false # bool | Indikátor, zda se jedná o šablonu přílohy nebo první stránky (optional) (default to false)
filename = 'filename_example' # str | Nový název souboru. Pokud není zadáno, použije se název uložený v systému (optional)
try:
# Nahraje soubor se šablonou PDF nebo změní definici šablony (crUd)
api_instance.put_template(doc_code, body=body, enclosure=enclosure, filename=filename)
except ApiException as e:
print("Exception when calling AdminsApi->put_template: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://valpha.sysnet.cz/SYSNET/CITES_other_doc/1.0.0
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AdminsApi | delete_template | DELETE /template/{docCode} | Odstraní položku šablony PDF (cruD) |
| AdminsApi | get_template | GET /template/{docCode} | Vrátí šablonu PDF (cRud) |
| AdminsApi | get_template_list | GET /template | Vrací seznam šablon |
| AdminsApi | post_template_item | POST /template | Zavede novou položku šablony (Crud) |
| AdminsApi | put_template | PUT /template/{docCode} | Nahraje soubor se šablonou PDF nebo změní definici šablony (crUd) |
| DevelopersApi | info_api | GET /info | vrací servisní informace |
| DevelopersApi | info_api_head | HEAD /info | vrací informaci o dostupnosti služby |
| PublicApi | delete_document | DELETE /doc/{identifier} | Odstraní dokument (cruD) |
| PublicApi | get_document | GET /doc/{identifier} | Vrací konkrétní dokument (cRud) |
| PublicApi | get_document_list | GET /doc | Vrací seznam dokumentů podle klíče nebo kódu |
| PublicApi | get_pdf_file | GET /pdf/{identifier} | Vrací PDF dokument |
| PublicApi | get_xfdf | GET /xfdf/{identifier} | Vrací XFDF data dokumentu |
| PublicApi | post_document | POST /doc | Vytvoří nový dokument (Crud) |
| PublicApi | put_document | PUT /doc/{identifier} | Aktualizuje dokument (crUd) |
Documentation For Models
- BaseDocumentType
- ConditionsType
- DocumentCode
- DocumentEntryListType
- DocumentEntryType
- ErrorModel
- GeneralType
- GoodsType
- IssuingType
- MetadataType
- OtherType
- PersonType
- TaxonType
- TemplateType
- TransactionType
- XfdfFieldType
- XfdfListType
- XfdfType
- XfdfTypeIdentifier
- XfdfTypeTemplateFile
Documentation For Authorization
apiKey
- Type: API key
- API key parameter name: X-API-KEY
- Location: HTTP header
Author
Metadata
Release files for sysnet-citesdoc 1.0.0.3
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-citesdoc-1.0.0.3.tar.gz | 44.5 kB | Without provenance | Details for sysnet-citesdoc-1.0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sysnet_citesdoc-1.0.0.3-py3-none-any.whl | Python 3 | none | any | Details for sysnet_citesdoc-1.0.0.3-py3-none-any.whl |
Total release size: 123.6 kB
Release files / sysnet-citesdoc-1.0.0.3.tar.gz
| Download URL | sysnet-citesdoc-1.0.0.3.tar.gz |
|---|---|
| Size | 44.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6561de7b9f81a12ab8ea8a8f619631a047e53df3451c19abc2f8e6c0eea40c3
|
|
BLAKE2b-256 checksum How to use checksums |
33f49c0dc5d662018a37ff627914f445d8b6f2b42b974544b56d006fb805c818
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / sysnet_citesdoc-1.0.0.3-py3-none-any.whl
| Download URL | sysnet_citesdoc-1.0.0.3-py3-none-any.whl |
|---|---|
| Size | 79.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a76cf6d731783902116970e4ce5419606c7614f8b454db087a1df87690127cf
|
|
BLAKE2b-256 checksum How to use checksums |
ab6486af40eb168319c16b6fa2288549b5b89cb5e02da729636157393584f538
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for sysnet-citesdoc 1.0.0.3
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.