Библиотека для взаимодействия с сетевым дневником (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-1.0.0.tar.gz
(12.2 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-1.0.0-py3-none-any.whl
(11.7 kB
view details)
File details
Details for the file mobnslib-1.0.0.tar.gz.
File metadata
- Download URL: mobnslib-1.0.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
557fc6c69df12538ec0fde3548401fc3e760294bd20a81f261ba8d7245867fa4
|
|
| MD5 |
95f048295555132237b242befbc6d0ab
|
|
| BLAKE2b-256 |
1315088dfd98a96eaf7539836797e7ded7acce78c03cc87a34e66dc0744a6df6
|
File details
Details for the file mobnslib-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mobnslib-1.0.0-py3-none-any.whl
- Upload date:
- Size: 11.7 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 |
25e3e1a53bebe66927f8513af80b1482c7fdf72bf647d1f120bc19104c17ed6b
|
|
| MD5 |
66514e76c0f87dc5d9046101c35e798c
|
|
| BLAKE2b-256 |
8f3f29c8c92bd08664a0ce3d65ea6d1e4d80bd23df040c913924e8cbdae2c588
|