https://github.com/noma4i/lua-api-client
Lua REST API Client
https://github.com/noma4i/lua-api-client
api-client lua
Last synced: 6 months 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 (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-24T07:02:04.000Z (about 11 years ago)
- Last Synced: 2025-07-24T08:38:33.627Z (6 months ago)
- Topics: api-client, lua
- Language: Lua
- Homepage:
- Size: 277 KB
- Stars: 33
- Watchers: 3
- Forks: 9
- 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