Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/noma4i/lua-api-client
- Owner: noma4i
- Created: 2015-01-23T05:08:56.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-24T07:02:04.000Z (almost 10 years ago)
- Last Synced: 2024-08-07T18:39:25.304Z (3 months ago)
- Topics: api-client, lua
- Language: Lua
- Homepage:
- Size: 277 KB
- Stars: 31
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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