Skip to content

TheLinx/lanyhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lanyhub

lanyhub is a Lua wrapper for the Anyhub API.

Dependencies

How to install (automatically)

If you’re using Arch Linux, you can install the lua-anyhub package from the AUR.

How to install (manually)

Put the folder anyhub somewhere in your Lua module path.
On Linux/Mac this is usually something like /usr/local/share/lua/5.1/.
On Windows it’s C:\Program Files\Lua\5.1\.

Example

require("anyhub")
result = anyhub.upload("/path/to/file", {username = "awesome_dude", password = "safe_password"})
print(result.url)

For a more overall example, check out examples/wizard.lua

License

Creative Commons CC0 License: http://creativecommons.org/publicdomain/zero/1.0/

The person who associated a work with this document has dedicated the work
to the Commons by waiving all of his or her rights to the work worldwide
under copyright law and all related or neighboring legal rights he or she
had in the work, to the extent allowable by law.
Works under CC0 do not require attribution. When citing the work,
you should not imply endorsement by the author.

About

Anyhub API wrapper for Lua.

Resources

License

Stars

Watchers

Forks

Packages

No packages published