# Python-клиент для платформы webinar.ru (mts-link.ru)
## Клиент находится в разработке!
### Особенности
Клиент полностью асинхронный с поддержкой валидации Pydantic. Требуется Python 3.11 или выше. Основан на `aiohttp` и `pydantic`.
> Сделан на основе документации: https://help.webinar.ru/ru/articles/3180654-api-список-методов-вебинары
### Установка
```console
$ pip install webinarru
```
### Простое использоание
Создайте файл `main.py`:
```Python hl_lines="9 14"
import asyncio
from pprint import pprint
from WebinarRu import WebinarAPI
webinar = WebinarAPI("YOUR_API_TOKEN")
async def main():
timezones = await webinar.get_timezones()
pprint(timezones)
if __name__ == '__main__':
asyncio.run(main())
```
Raw data
{
"_id": null,
"home_page": "https://github.com/gulyaeve/WebinarRu",
"name": "WebinarRu",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": "webinar, mts-link, WebinarRu",
"author": "gulyaeve",
"author_email": "gulyaev.e@icloud.com",
"download_url": "https://files.pythonhosted.org/packages/ac/cb/8a2211bc24b6b889eea4390bffba9a7687fbf8aeefa3bcb78ba2f1764723/webinarru-0.1.2.tar.gz",
"platform": null,
"description": "# Python-\u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b webinar.ru (mts-link.ru)\n\n## \u041a\u043b\u0438\u0435\u043d\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435!\n\n### \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438\n\n\u041a\u043b\u0438\u0435\u043d\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 Pydantic. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f Python 3.11 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435. \u041e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 `aiohttp` \u0438 `pydantic`.\n> \u0421\u0434\u0435\u043b\u0430\u043d \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438: https://help.webinar.ru/ru/articles/3180654-api-\u0441\u043f\u0438\u0441\u043e\u043a-\u043c\u0435\u0442\u043e\u0434\u043e\u0432-\u0432\u0435\u0431\u0438\u043d\u0430\u0440\u044b\n\n### \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\n\n```console\n$ pip install webinarru\n```\n\n### \u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0430\u043d\u0438\u0435\n\n\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043b `main.py`:\n\n```Python hl_lines=\"9 14\"\nimport asyncio\nfrom pprint import pprint\nfrom WebinarRu import WebinarAPI\n\nwebinar = WebinarAPI(\"YOUR_API_TOKEN\")\n\n\nasync def main():\n timezones = await webinar.get_timezones()\n pprint(timezones)\n\n\nif __name__ == '__main__':\n asyncio.run(main())\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python client for webinar.ru (mts-link.ru) platform",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/gulyaeve/WebinarRu",
"Repository": "https://github.com/gulyaeve/WebinarRu"
},
"split_keywords": [
"webinar",
" mts-link",
" webinarru"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "edd27c8776570fc08b72b589519604c915ce5e802e3c3fe5ae84aa8769cad21c",
"md5": "7c724371673bda7ab753c47d8b329c7d",
"sha256": "94b00e871149c853d886605477b3f9812b05c865da557aaf03241b4a859cfdbc"
},
"downloads": -1,
"filename": "webinarru-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7c724371673bda7ab753c47d8b329c7d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 19076,
"upload_time": "2024-08-13T15:49:24",
"upload_time_iso_8601": "2024-08-13T15:49:24.905319Z",
"url": "https://files.pythonhosted.org/packages/ed/d2/7c8776570fc08b72b589519604c915ce5e802e3c3fe5ae84aa8769cad21c/webinarru-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "accb8a2211bc24b6b889eea4390bffba9a7687fbf8aeefa3bcb78ba2f1764723",
"md5": "239bbf4fd1db0abb88c35c8329ee5f78",
"sha256": "1ccfbf44307d9b3f5b04074b833349e6c7db5305f613c06e600bf29df23a28ae"
},
"downloads": -1,
"filename": "webinarru-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "239bbf4fd1db0abb88c35c8329ee5f78",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 18169,
"upload_time": "2024-08-13T15:49:26",
"upload_time_iso_8601": "2024-08-13T15:49:26.065897Z",
"url": "https://files.pythonhosted.org/packages/ac/cb/8a2211bc24b6b889eea4390bffba9a7687fbf8aeefa3bcb78ba2f1764723/webinarru-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-13 15:49:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gulyaeve",
"github_project": "WebinarRu",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "webinarru"
}