# VideoCND - API
Реализация Api для сервиса VideoCDN.tv
Установка:```pip install videocdn-tv```
## Методы
Взаимодействие:
```python
from .videocdn import VideoCDN, ParamsContent, ParamsEpisode, ParamsSeason
videocdn = VideoCDN(api_token="KEY")
```
### translations
```python
data = videocdn.get_translations()
```
### movies
```python
data = videocdn.get_movies(ParamsContent(query="Аквамене"))
```
### animes
```python
data = videocdn.get_animes(ParamsContent(query="Ван-Пис: Золото"))
```
### tv-series
```python
data = videocdn.get_tv_series(ParamsContent(query="Игра Пристолов"))
```
### tv-series/seasons
```python
data = videocdn.get_tv_series_seasons(ParamsSeason(tv_series_id=1))
```
### tv-series/episodes
```python
data = videocdn.get_tv_series_episodes(ParamsEpisode(tv_series_id=1))
```
### anime-tv-series
```python
data = videocdn.get_anime_tv_series(ParamsContent(query="Доктор Стоун"))
```
### anime-tv-series/seasons
```python
data = videocdn.get_anime_tv_series_seasons(ParamsSeason(tv_series_id=1))
```
### anime-tv-series/episodes
```python
data = videocdn.get_anime_tv_series_episodes(ParamsEpisode(tv_series_id=1))
```
### show-tv-series
```python
data = videocdn.get_show_tv_series(ParamsContent(query="Зовите шефа"))
```
### show-tv-series/seasons
```python
data = videocdn.get_show_tv_series_season(ParamsSeason(tv_series_id=1))
```
### show-tv-series/episodes
```python
data = videocdn.get_show_tv_series_episodes(ParamsEpisode(tv_series_id=1))
```
Raw data
{
"_id": null,
"home_page": "https://github.com/odi1n/VideoCDN",
"name": "videocdn-tv",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "videocdn,videocdn-tv",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/bf/ed/940006caedc172a0adcd5bc62ce65196f248a70c74be7d66ab7ae0184957/videocdn_tv-0.2.1.tar.gz",
"platform": null,
"description": "# VideoCND - API\n\n\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f Api \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430 VideoCDN.tv\n\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430:```pip install videocdn-tv```\n\n## \u041c\u0435\u0442\u043e\u0434\u044b\n\n\u0412\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435:\n\n```python\nfrom .videocdn import VideoCDN, ParamsContent, ParamsEpisode, ParamsSeason\nvideocdn = VideoCDN(api_token=\"KEY\")\n```\n\n### translations\n\n```python\ndata = videocdn.get_translations()\n```\n\n### movies\n\n```python\ndata = videocdn.get_movies(ParamsContent(query=\"\u0410\u043a\u0432\u0430\u043c\u0435\u043d\u0435\"))\n```\n\n### animes\n\n```python\ndata = videocdn.get_animes(ParamsContent(query=\"\u0412\u0430\u043d-\u041f\u0438\u0441: \u0417\u043e\u043b\u043e\u0442\u043e\"))\n```\n\n### tv-series\n\n```python\ndata = videocdn.get_tv_series(ParamsContent(query=\"\u0418\u0433\u0440\u0430 \u041f\u0440\u0438\u0441\u0442\u043e\u043b\u043e\u0432\"))\n```\n\n### tv-series/seasons\n\n```python\ndata = videocdn.get_tv_series_seasons(ParamsSeason(tv_series_id=1))\n```\n\n### tv-series/episodes\n\n```python\ndata = videocdn.get_tv_series_episodes(ParamsEpisode(tv_series_id=1))\n```\n\n### anime-tv-series\n\n```python\ndata = videocdn.get_anime_tv_series(ParamsContent(query=\"\u0414\u043e\u043a\u0442\u043e\u0440 \u0421\u0442\u043e\u0443\u043d\"))\n```\n\n### anime-tv-series/seasons\n\n```python\ndata = videocdn.get_anime_tv_series_seasons(ParamsSeason(tv_series_id=1))\n```\n\n### anime-tv-series/episodes\n\n```python\ndata = videocdn.get_anime_tv_series_episodes(ParamsEpisode(tv_series_id=1))\n```\n\n### show-tv-series\n\n```python\ndata = videocdn.get_show_tv_series(ParamsContent(query=\"\u0417\u043e\u0432\u0438\u0442\u0435 \u0448\u0435\u0444\u0430\"))\n```\n\n### show-tv-series/seasons\n\n```python\ndata = videocdn.get_show_tv_series_season(ParamsSeason(tv_series_id=1))\n```\n\n### show-tv-series/episodes\n\n```python\ndata = videocdn.get_show_tv_series_episodes(ParamsEpisode(tv_series_id=1))\n```",
"bugtrack_url": null,
"license": "MIT",
"summary": "\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f Api \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430 VideoCDN.tv",
"version": "0.2.1",
"project_urls": {
"Documentation": "https://github.com/odi1n/VideoCDN/blob/master/README.md",
"Homepage": "https://github.com/odi1n/VideoCDN",
"Repository": "https://github.com/odi1n/VideoCDN"
},
"split_keywords": [
"videocdn",
"videocdn-tv"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "49a319d862868b21921d9738731bb9b47379193a0c7a4dfcf1f9b81713abfffb",
"md5": "7b80fdb08e0a34a78e0332e2146a46c5",
"sha256": "a41112284d8339d8442fb02f8d739c962b3d4833925a678e9e1975c8f3ca3113"
},
"downloads": -1,
"filename": "videocdn_tv-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7b80fdb08e0a34a78e0332e2146a46c5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 13420,
"upload_time": "2023-05-10T22:49:29",
"upload_time_iso_8601": "2023-05-10T22:49:29.889037Z",
"url": "https://files.pythonhosted.org/packages/49/a3/19d862868b21921d9738731bb9b47379193a0c7a4dfcf1f9b81713abfffb/videocdn_tv-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bfed940006caedc172a0adcd5bc62ce65196f248a70c74be7d66ab7ae0184957",
"md5": "50a0b9c98a04b18d26fab00b74459a22",
"sha256": "f7f85e19f8f6de4b5c1373ff81f5c070d63deb6ee834274d95055bba6bd51e94"
},
"downloads": -1,
"filename": "videocdn_tv-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "50a0b9c98a04b18d26fab00b74459a22",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 6560,
"upload_time": "2023-05-10T22:49:32",
"upload_time_iso_8601": "2023-05-10T22:49:32.491731Z",
"url": "https://files.pythonhosted.org/packages/bf/ed/940006caedc172a0adcd5bc62ce65196f248a70c74be7d66ab7ae0184957/videocdn_tv-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-10 22:49:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "odi1n",
"github_project": "VideoCDN",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "videocdn-tv"
}