Библиотека для взаимодействия с сетевым дневником (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.4.tar.gz
(11.1 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.4-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file mobnslib-0.1.4.tar.gz.
File metadata
- Download URL: mobnslib-0.1.4.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecab2eedff0ae35196094cf4e318b76fed70dda576e045cd8ed2d5e6f1ba0703
|
|
| MD5 |
986c41f0109452b18ce119e54024b441
|
|
| BLAKE2b-256 |
cef0350f4700914b70afe793cceff2f681650c10e072324529471ad764e7a7f1
|
File details
Details for the file mobnslib-0.1.4-py3-none-any.whl.
File metadata
- Download URL: mobnslib-0.1.4-py3-none-any.whl
- Upload date:
- Size: 10.5 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 |
5441d3afdf0bad80789bbef8fbd65418d79c8252e7cdb3891cd9e0bd21ac1648
|
|
| MD5 |
39471b2eb750a7694d877b7f6d1e3616
|
|
| BLAKE2b-256 |
afd4f0dc32ec891059e69d85c965021c7f076a5fe4347223d227a8450c177ee7
|