Skip to content

Commit

Permalink
feat: aded get_restreamers
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Oct 20, 2023
1 parent 1dbb6a7 commit 0efac3c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/compress/compress.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,22 @@ def upload_with_encoding( self, destination_folder : str, file, title : str, tag
})
)
#
#/**
# *
# * @param {number} start_from
# * @param {number} amount
# * @returns restreamer list
# */
def get_restreamers(start_from :int, amount :int):
return self.req.post(TNGRM_BASE_URL + CREATE_UPLOAD,
headers={
"Content-Type": "application/json",
},
body = json.dumps({
"api_key": self.api_key,
"client_id": self.client_id,
"start_from": int(start_from),
"amount": int(amount)
})
)
#

0 comments on commit 0efac3c

Please sign in to comment.