Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noma4i/lua-api-client

Lua REST API Client
https://github.com/noma4i/lua-api-client

api-client lua

Last synced: 3 days ago
JSON representation

Lua REST API Client

Awesome Lists containing this project

README

        

# lua-api-client

Simple HTTP API Client to talk with REST API and parse JSON response.

**Syntax:**
````lua
api_call(
method,
url,
params
)
````

**Example:**
````lua
result = api_call(
"POST",
"https://us2.api.mailchimp.com/2.0/lists/list",
"apikey=ABCD"
)
````

Run `example.lua` to see actual result