Skip to main content

Aparat Python API

Aparat Logo

Aparat (Persian: آپارات‎, Âpârât) is an Iranian video sharing service (source: wikipedia [1])

Features

  • Login
  • Profile
  • Search
  • Profile Categories
  • Video
  • Video Categories
  • Video By User
  • Comment By Video
  • Video By Tag
  • Upload Video
  • Download Video

How to login

from aparat import Aparat


aparat = Aparat()

user = aparat.login('username', 'password')

How to upload a video

from aparat import Aparat


aparat = 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
)

References:

[1] https://en.wikipedia.org/wiki/Aparat

Metadata

Release files for aparat-python 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aparat-python 0.0.2
File Size Uploaded Provenance Actions
aparat-python-0.0.2.tar.gz 5.1 kB Without provenance Details for aparat-python-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aparat-python 0.0.2
File Interpreter ABI Platform Actions
aparat_python-0.0.2-py3-none-any.whl Python 3 none any Details for aparat_python-0.0.2-py3-none-any.whl

Total release size: 9.9 kB

Release files / aparat-python-0.0.2.tar.gz

Download URL aparat-python-0.0.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9941c2cc305f2cc7b43ea15cb7e96ed5e09427014257bb49596a839ddb72dc00
BLAKE2b-256 checksum
How to use checksums
50f7eb92f1f601061369f1885f7f1b134286fa8a2e389ec6861f9e6d272c375f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / aparat_python-0.0.2-py3-none-any.whl

Download URL aparat_python-0.0.2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff0109f38cde50ffa3805dde4a5939842f165f3768479fa6c7fb6a2046ce7f0e
BLAKE2b-256 checksum
How to use checksums
18de3e6e3b39de9e12c09ee9bac179d9f531492b9e03038b976497c03eab73ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for aparat-python 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page