Skip to content

Some functions in a class to interact with Uptobox API, to be reused in modules and scripts.

License

Notifications You must be signed in to change notification settings

FuNeTaToNaRaRiRe/uptobox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uptobox

Some functions that allows you to interact with Uptobox API.

Prerequisites

Functions:

file_search(path, limit, search)

  • Path is the Uptobox folder path (basepath of Uptobox is "//")
  • Limit is the number of maximal search results
  • Search is pretty obvious

get_download_link(code)

  • Takes as an argument the code of an Uptobox file. Code is the unique identifier for a file hosted on Uptobox. It's the string at the end of an Uptobox link.
  • Regex can handle Uptobox link so you can use the link as an argument.

upload_file(file)

  • Takes as an argument the path of the file you want to upload.

Need to do:

  • Add something to monitor the upload.

Licensing

  • MIT

About

Some functions in a class to interact with Uptobox API, to be reused in modules and scripts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages