Библиотека для взаимодействия с сетевым дневником (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.6.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.6-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file mobnslib-0.1.6.tar.gz.
File metadata
- Download URL: mobnslib-0.1.6.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 |
d0f6ba722c8f470c4eb405425da8a3683f0b0bf47a45846870f59d61751a30cc
|
|
| MD5 |
1d9d5c2096d09cb0578376183729662c
|
|
| BLAKE2b-256 |
0be167fc7bc9a1ef06212431ae3be6aa2871a721410566d61a8f41cc04b8bdd0
|
File details
Details for the file mobnslib-0.1.6-py3-none-any.whl.
File metadata
- Download URL: mobnslib-0.1.6-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 |
2ec312d732a2e475b6879bcfd8d0b013ec2e4cb3810be0c497ef88d869dd6567
|
|
| MD5 |
0817ce69864d9667133cb281f2c6ef6b
|
|
| BLAKE2b-256 |
d16f2eb0c2e2370ed4e1df0ea3864a280db45e23a2dec548deeb4e6c00ae6048
|