A set of basic examples of what you can do with Github's REST API written in different programming languages.
The Lua example needs some libraries:
# For easy GET requests to the API
luarocks install lua-requests
# Fast JSON encoding/decoding
luarocks install rapidjson
# Commandline options, flags and arguments parsing
luarocks install argparse
After you have all these libraries, then run the example:
lua Github.lua
Build the Nim example with:
nim c -d:ssl Github.nim
And run:
./Github ...
NOTE: On Windows (and probably macOS too) you'll need to download a SSL/TLS Certificate and put it into the folder where you compiled the example. This is due to a Nim bug and that's the temporary fix.