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 je dostupná na PyPI, případně se dá nainstalovat přímo ze zdroje 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.42.tar.gz (109.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.42-py3-none-any.whl (116.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: skautis_py-1.1.42.tar.gz
  • Upload date:
  • Size: 109.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skautis_py-1.1.42.tar.gz
Algorithm Hash digest
SHA256 8b6d77ecb038662de9147c87744408977abf038b7290e0845b94cfbb23b0562d
MD5 3d22d0a9d2512912e8eaf4df5fa8bf41
BLAKE2b-256 3ae62edd630daa17d74931238f12af0fca61d271203be9c2d9b2977ae218ab6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for skautis_py-1.1.42.tar.gz:

Publisher: pypi-deploy.yml on skaut/skautis-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: skautis_py-1.1.42-py3-none-any.whl
  • Upload date:
  • Size: 116.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skautis_py-1.1.42-py3-none-any.whl
Algorithm Hash digest
SHA256 625b7ba0fb017afc1e5c28d3c60f5a65ea75bed74378f6c30f940565a8d9ed35
MD5 6b2f149495db74e68a84b3619800e709
BLAKE2b-256 5005e43f27029a88e70348b8266a971304deb0c72c10da7d39abf9fbf426a2a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for skautis_py-1.1.42-py3-none-any.whl:

Publisher: pypi-deploy.yml on skaut/skautis-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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