Usage
- Aparat API Client
- Attributes:
- Methods:
__init__(proxy: Union[None, dict] = None)login(username: str, password: str, timeout: int = 10) -> boolsignup_step1(self, account: str) -> boolsignup_step2(self, url: str, account: str, password: str, timeout: int = 10) -> boolget_me(timeout: int = 10) -> Union[Dict, None]get_user(user_id: str, timeout: int = 10) -> Userget_my_videos(timeout: int = 10) -> list[MyVideo]get_my_video(id: str = None, uid: str = None, timeout: int = 10) -> MyVideoget_comment(self, uid: str, comment_id: str, timeout: int = 10) -> Commentnotifications(timeout: int = 10) -> Union[Dict, None]dashboard(timeout: int = 10) -> Union[Dict, None]get_video(self, uid: str, timeout: int = 10) -> Videoget_playlist(self, playlist_id: int, timeout: int = 10) -> Playlistupload_video(video: str, title: str, category: VideoCategory, tag_list: list, comment: str = 'yes', watermark: bool = True, inappropriate_child_content: bool = False, thumbnail: str = '', description: str = '', retries: int = 6, timeout: int = 10) -> MyVideologout() -> Nonesave_session() -> Noneload_session(username: str, timeout: int = 10) -> boolget_AuthV1(self) -> strload_AuthV1(self, AuthV1: str, timeout: int = 10) -> bool
- Video Operations
- Attributes
- Methods
__init__(data: Dict[str, Union[str, int]], is_logged_in, session)send_comment(comment: str, timeout: int = 10) -> Commentlike(timeout: int = 10) -> boolunlike(timeout: int = 10) -> booldownload(self, resolution: str = None, download_highest_resolution: bool = None, path: str = None, show_progress_bar: bool = True) -> strreport(reason: ReportReason, main_time: str = '', main_time1: str = '', main_time2: str = '', body: str = None, timeout: int = 10) -> Union[str, bool]follow(toggle_push_notifications: bool = False, timeout: int = 10) -> boolunfollow(timeout: int = 10) -> boolrepublish(timeout: int = 10) -> MyVideoget_my_video(id: str = None, uid: str = None, timeout: int = 10) -> MyVideo
- Playlist Operations
- My Videos Management
- User Interactions
- Comment Interactions
- Attributes
- Methods
__init__(self, data: Dict[str, Union[str, int]], uid: int, is_logged_in: bool, session)like(timeout: int = 10) -> boolunlike(timeout: int = 10) -> booldelete(timeout: int = 10) -> boolreport(timeout: int = 10) -> boolreply_to_comment(body: str, timeout: int = 10) -> boolget_replies(timeout: int = 10) -> Union[Dict[str, Union[str, int]], bool]
- Error Handling
- Predefined Values