update
swadhinbiswas committed 2 years ago
3e92fab
1 parent 3f08b9d
commit 3e92fab
1 file changed
+86 -1
Showing 1 changed file+86-1
▼README.md
+86-1
| @@ -1 +1,86 @@ | ||
1 | -# test | |
1 | +# Unoffical Streamtape API Wrapper | |
2 | + | |
3 | + | |
4 | + | |
5 | +## Streamtape tries to give the user the best experience you can get on a video-sharing website | |
6 | + | |
7 | + | |
8 | + | |
9 | +## Video sharing has never been easier | |
10 | + | |
11 | +*It is a simple API wrapper for the streaming service streamtape.com. The API documentation can be found on the [docs page](https://https://streamtape.static.domains/). The whole structure of the API has been split into different classes for easy overview and usage.* | |
12 | + | |
13 | +## Installation | |
14 | + | |
15 | +Install With | |
16 | + | |
17 | +```python3 | |
18 | +pip3 install pystreamtape | |
19 | +``` | |
20 | + | |
21 | +## Usage | |
22 | + | |
23 | +**General usage** | |
24 | +*Class start with follwing initialization :* | |
25 | + | |
26 | +```python2 | |
27 | +var=Streamtape('api_key','api_secret') | |
28 | +``` | |
29 | + | |
30 | +## General response | |
31 | + | |
32 | +### For the general purpose of any response, the ApiResponse class has been created to return a dict with this structure | |
33 | + | |
34 | +``` | |
35 | +from streamtape import Streamtape | |
36 | +var=Streamtape('api_key','api_secret') | |
37 | + | |
38 | +var.account_info() | |
39 | + | |
40 | +var.download_ticket() | |
41 | + | |
42 | +var.download_link() | |
43 | + | |
44 | +var.file_info() | |
45 | + | |
46 | +var.upload_file() | |
47 | + | |
48 | +var.add_remote_upload() | |
49 | + | |
50 | +var.remove_upload_upload() | |
51 | + | |
52 | +var.cheak_upload_status() | |
53 | + | |
54 | +var.list_of_files() | |
55 | + | |
56 | +var.create_folder() | |
57 | + | |
58 | +var.rename_folder() | |
59 | + | |
60 | +var.delete_folder() | |
61 | + | |
62 | +var.move_folder() | |
63 | + | |
64 | +var.delete_file() | |
65 | + | |
66 | +var.list_running_conversions() | |
67 | + | |
68 | + | |
69 | +var.list_of_confails() | |
70 | + | |
71 | +var.list_of_finished_conversions() | |
72 | + | |
73 | +var.list_of_conversion_formats() | |
74 | + | |
75 | +var.convert_file() | |
76 | + | |
77 | +var.cancel_conversion() | |
78 | + | |
79 | +var.get_conversion_status() | |
80 | + | |
81 | +var.get_conversion_formats() | |
82 | + | |
83 | +var. get_thumbnail() | |
84 | + | |
85 | +var.get_splash() | |
86 | +``` | |
2 | 87 | |