Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahdikhashan/aparat-python
Aparat VOD Platform API Wrapper
https://github.com/mahdikhashan/aparat-python
aparat aparat-uploader package python
Last synced: about 1 month ago
JSON representation
Aparat VOD Platform API Wrapper
- Host: GitHub
- URL: https://github.com/mahdikhashan/aparat-python
- Owner: mahdikhashan
- License: mit
- Created: 2020-06-17T06:34:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T16:48:12.000Z (almost 2 years ago)
- Last Synced: 2024-05-28T20:45:23.527Z (7 months ago)
- Topics: aparat, aparat-uploader, package, python
- Language: Python
- Homepage: https://pypi.org/project/aparat-python/
- Size: 22.5 KB
- Stars: 15
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Aparat Python API
![Aparat Logo](https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Aparat_English_Square.png/250px-Aparat_English_Square.png)[Aparat](http://www.aparat.com/) (Persian: آپارات, Âpârât) is an Iranian video sharing service (source: wikipedia [1])
## Features
- [x] Login
- [x] Profile
- [x] Search
- [x] Profile Categories
- [x] Video
- [x] Video Categories
- [x] Video By User
- [x] Comment By Video
- [x] Video By Tag
- [x] Upload Video
- [ ] Download Video## How to login
```python
from aparat import Aparataparat = Aparat()
user = aparat.login('username', 'password')
```## How to upload a video
```python
from aparat import Aparataparat = Aparat()
user = aparat.login(username, password)
form = aparat.uploadForm(user.username, user.ltoken)video = aparat.uploadPost(
form=form,
video_path='video.mp4',
title='title',
category=10,
tags=['tag1', 'tag2', 'tag3'],
allow_comment=True,
descreption='desc',
video_pass=False
)
```## Contributors