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.35.tar.gz (107.9 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.35-py3-none-any.whl (115.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for skautis_py-1.1.35.tar.gz
Algorithm Hash digest
SHA256 a94fcd513f3ce35fa4df3309213f375b6b886d48ca0d11ae487a70e78281068c
MD5 6050bc151c0f6978b8dec0837047ad9c
BLAKE2b-256 c7c34c5f4c3a94a41aa1417f04d7cfc0b93fe2d5cfbc16d7e41b183e5988d11c

See more details on using hashes here.

Provenance

The following attestation bundles were made for skautis_py-1.1.35.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.35-py3-none-any.whl.

File metadata

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

File hashes

Hashes for skautis_py-1.1.35-py3-none-any.whl
Algorithm Hash digest
SHA256 0392f97c743be6f6d49f1e6c2ae9164fccde519697331f413856978f4f7eb2ab
MD5 9789853e070aecba586732a4fecd2a42
BLAKE2b-256 45db0f2a87e07ce517657b5492baca4c2930d3d4415823df70850bca18c36459

See more details on using hashes here.

Provenance

The following attestation bundles were made for skautis_py-1.1.35-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