Anyhub API wrapper for Lua.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
anyhub
examples
LICENSE
README.textile

README.textile

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.