Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Anyhub API wrapper for Lua.
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.
Something went wrong with that request. Please try again.