LiteCart Public API
The official website and add-ons store have a public API currently offering read-only access to resources using REST and JSON.
Endpoint
https://www.litecart.net/api
Methods
The supported methods and their parameters are as following:
GET /releases?limit=10
GET /releases/{version}
GET /addons?query=my+search+string&limit=10
GET /addons/{id}
Pagination
Endpoints supporting pagination will return a header like the following:
Link: <https://...?page=2>; rel=next,<https://...?page=9>; rel=last
You can extract a pagination link using regular expressions:
if (preg_match('#<(.*?)>; rel="?next"?#m', $headers, $matches)) {
$next_link = $matches[1];
}
Revisions
Top Editors
Recently Edited Articles