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.4.tar.gz (100.2 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.4-py3-none-any.whl (108.0 kB view details)

Uploaded Python 3

File details

Details for the file skautis-py-1.1.4.tar.gz.

File metadata

  • Download URL: skautis-py-1.1.4.tar.gz
  • Upload date:
  • Size: 100.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for skautis-py-1.1.4.tar.gz
Algorithm Hash digest
SHA256 f22738d0295b6c443c8eabeab2609ae71c571a3268000c0d072f24c0bae0549b
MD5 ab6e1c3f9d2be2037744aa2114555671
BLAKE2b-256 804984d3881e981ff1c5db91aa861013513ae54d5a84361daba84ef52b9dd7c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skautis_py-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 108.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for skautis_py-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0f53ffc07cf74493713a2e967e6b7c5ce3beffbec5498485f42d1e877d69471e
MD5 001bc0545f2a525e0393356a23e4ec08
BLAKE2b-256 f98052ed85b47527bd66d1d0122c67a9e5d6ee03e89e7e6ca5d6c5b75588e1ef

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