Skip to main content

Python library for interaction with the Skautis API

Project description

SkautIS

Python knihovna pro připojení do Skautisu

Knihovna je automaticky generovaná s limitovaným testováním a může tedy obsahovat chyby.

Pokud na nějakou narazíte, případně máte nápad na vylepšení generování, určitě dejte vědět. Nicméně vzhledem k jednoduché architektuře a stáří projektu jsou chyby nepravděpodobné.

Instalace a použití

Knihovna se instaluje pomocí setup scriptu:

python setup.py install

Po instalaci stačí zavolat SkautisApi s klíčem aplikace, nad kterým se dají poté volat jednotlivé operace. Všechna volání jsou ve formátu: skautis.<webservice>.<operation>(args).

Seznam možných volání je na adrese https://is.skaut.cz/JunakWebservice/.

Složka example obsahuje jednoduchou aplikaci, která ukazuje základní využití knihovny jako je přihlášení, získání dat o uživateli a odhlášení.

Příklad použití

skautis = SkautisApi(SKAUTIS_APPID, test=True)
...
// načtení informací o uživateli
user_info = skautis.UserManagement.UserDetail(skautis_token, None)

// získání logout linku
logout_link = skautis.get_logout_url(skautis_token)

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

skautis_py-1.1.29.tar.gz (108.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skautis_py-1.1.29-py3-none-any.whl (115.9 kB view details)

Uploaded Python 3

File details

Details for the file skautis_py-1.1.29.tar.gz.

File metadata

  • Download URL: skautis_py-1.1.29.tar.gz
  • Upload date:
  • Size: 108.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for skautis_py-1.1.29.tar.gz
Algorithm Hash digest
SHA256 40de414e288d75e4102d8a9c9e6c43abd8d57a52e6f0f9a8aac51d402e404feb
MD5 ca4df7a9bf95495cc0ac05f281b51104
BLAKE2b-256 69dd7fd82d4d28b7d50efbf7f98ca2baa82c7e1069d61ccc292ea6fd45b665da

See more details on using hashes here.

File details

Details for the file skautis_py-1.1.29-py3-none-any.whl.

File metadata

  • Download URL: skautis_py-1.1.29-py3-none-any.whl
  • Upload date:
  • Size: 115.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for skautis_py-1.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 49593e521ec7484d2fb1356364b9fafe46134ba71afca676cb9d67d4e8bc148c
MD5 11d098354b407cad383d1dedf4b87309
BLAKE2b-256 864f72f83419bfccef0c78e49bf3025f17ad15ebd58601c6a4d7c52bb1dfbb42

See more details on using hashes here.

Supported by

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