It is a simple API wrapper for the streaming service streamtape.com. The API documentation can be found on the docs page. The whole structure of the API has been split into different classes for easy overview and usage.
Install With
pip3 install pystreamtape
General usage
{
"status": <status-code>,
"msg": "<informational message. might vary, use the status code in your code!>",
"result": <result of the request. varies depending on the request>
}
Class start with follwing initialization :
var=Streamtape('api_key','api_secret')
For the general purpose of any response, the ApiResponse class has been created to return a dict with this structure
from pystreamtape.streamtape import Streamtape
var=Streamtape('api_key','api_secret')
var.account_info()
var.download_ticket()
var.download_link()
var.file_info()
var.upload_file()
var.add_remote_upload()
var.remove_upload_upload()
var.cheak_upload_status()
var.list_of_files()
var.create_folder()
var.rename_folder()
var.delete_folder()
var.move_folder()
var.delete_file()
var.list_running_conversions()
var.list_of_confails()
var.list_of_finished_conversions()
var.list_of_conversion_formats()
var.convert_file()
var.cancel_conversion()
var.get_conversion_status()
var.get_conversion_formats()
var. get_thumbnail()
var.get_splash()