Библиотека для взаимодействия с сетевым дневником (NetSchool)
Project description
MobNsLib
Библиотека для асинхронного взаимодействия с API мобильного приложения сетевого дневника (NetSchool).
Установка
pip install MobNsLib
Использование
import asyncio
from MobNsLib import nsLib
async def main():
ns = nsLib("https://your-school-url.ru")
result = await ns.EsiaLogin(login="номер_телефона", password="пароль")
if result['status'] == "ENTER_MFA":
code = input()
result = await ns.EsiaMfa(code, result)
tokens = await ns.EsiaLogin(result)
if __name__ == "__main__":
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mobnslib-0.1.5.tar.gz
(11.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
mobnslib-0.1.5-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file mobnslib-0.1.5.tar.gz.
File metadata
- Download URL: mobnslib-0.1.5.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f2e4b7fd8d2fd9d424f36b7f4f43293a0688ed3b55049c0545e705d743a8672
|
|
| MD5 |
f710f78b2b3fd3cf9aeccb26f024f65a
|
|
| BLAKE2b-256 |
690d13cd7673f79ac7f13a0d7c3bd582849bb1dfd0664840b758c750b7822147
|
File details
Details for the file mobnslib-0.1.5-py3-none-any.whl.
File metadata
- Download URL: mobnslib-0.1.5-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a065985c0c6d37790fc5de33058122e8e4ea9d79e14c1da72c47b9c528ed6fb5
|
|
| MD5 |
33bcf087579e286fa9716f74c4604b3e
|
|
| BLAKE2b-256 |
fbda634edf2e373e0a1210341b1bc3956fbd1ddc303aaa47b246a5dd6d5f1d3d
|