Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
/ smapi Public archive

Обёртка для api.school.mosreg.ru

License

Notifications You must be signed in to change notification settings

pykpt/smapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smapi

Сайт API

Методы API

Установка

pip install https://github.com/pykpt/smapi/archive/main.zip --upgrade

Авторизация

С помощью логина и пароля

from smapi import Client


client = Client(login='login', password='password')

С помощью токена

from smapi import Client


client = Client(token='token')

Получение токена

from smapi import Client


client = Client(login='login', password='password')
print(client.token)

Использование

from smapi import Client


client = Client(авторизация)
me = client.get_me() # Получение пользователя токена

About

Обёртка для api.school.mosreg.ru

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages