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.8.tar.gz (102.7 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.8-py3-none-any.whl (110.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skautis-py-1.1.8.tar.gz
  • Upload date:
  • Size: 102.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for skautis-py-1.1.8.tar.gz
Algorithm Hash digest
SHA256 d451fd2460e8965b3f1d3905888143a22e1057ebb05ecf3af4f175c9f2397846
MD5 aa788883c03f4abaaea4fc0826967292
BLAKE2b-256 6e32ce6ea9092884e033b335241ae7c24751dac58bacd1f55d792c131740fd63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: skautis_py-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 110.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for skautis_py-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ba8b86047be8e5c995e9fc563e48dd38386dd762f3438b4793b9e7c0fb9564ba
MD5 c141568a70291c0e00ccd2f338f4fb94
BLAKE2b-256 576e29f70a2cbe4e35a9802ccdeaf8b7bbbe02a79a2c63dc740fcadc502608ef

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