update

swadhinbiswas committed 2 years ago
758475d
1 parent 834e3b0
commit 758475d
1 file changed
+48 -30
Showing 1 changed file+48-30
▼README.md
+48-30
29
29
30
30
### For the general purpose of any response, the ApiResponse class has been created to return a dict with this structure
31
31
32
-`{
33
- "status": <status-code>,
34
- "msg": "<informational message. might vary, use the status code in your code!>",
35
- "result": <result of the request. varies depending on the request>
36
-}`
37
-
38
32
`
39
33
from streamtape import Streamtape
40
34
var=Streamtape('api_key','api_secret')
41
-
35
+`
36
+`
42
37
var.account_info()
43
-
38
+`
39
+`
44
40
var.download_ticket()
45
-
41
+`
42
+`
46
43
var.download_link()
47
-
44
+`
45
+`
48
46
var.file_info()
49
-
47
+`
48
+`
50
49
var.upload_file()
51
-
50
+`
51
+`
52
52
var.add_remote_upload()
53
-
53
+`
54
+`
54
55
var.remove_upload_upload()
55
-
56
+`
57
+`
56
58
var.cheak_upload_status()
57
-
59
+`
60
+`
58
61
var.list_of_files()
59
-
62
+`
63
+`
60
64
var.create_folder()
61
-
65
+`
66
+`
62
67
var.rename_folder()
63
-
68
+`
69
+`
64
70
var.delete_folder()
65
-
71
+`
72
+`
66
73
var.move_folder()
67
-
74
+`
75
+`
68
76
var.delete_file()
69
-
77
+`
78
+`
70
79
var.list_running_conversions()
71
-
80
+`
81
+`
72
82
var.list_of_confails()
73
-
83
+`
84
+`
74
85
var.list_of_finished_conversions()
75
-
86
+`
87
+`
76
88
var.list_of_conversion_formats()
77
-
89
+`
90
+`
78
91
var.convert_file()
79
-
92
+`
93
+`
80
94
var.cancel_conversion()
81
-
95
+`
96
+`
82
97
var.get_conversion_status()
83
-
98
+`
99
+`
84
100
var.get_conversion_formats()
85
-
101
+`
102
+`
86
103
var. get_thumbnail()
87
-
104
+`
105
+`
88
106
var.get_splash()
89
107
`
90
108