License: MIT

Language: PHP


Class to work with API rate limits


composer require alexkratky/apix


API class is class to work with API request. On created API endpoint creates API interface, which will handle all requests. To response to the request, the request must contain valid API key (One from api_keys table). The valid means, that the key must exists and must have not reached the rate limits. If the corresponding route have template file(s), it will be required, but if have function, the function will be executed, and if the function return something, the result will outputed as beautify json string (The result will be encoded using json_encode) and also it will save he response as cache file. This cache file name is combination of API key and URL.

Project Statistics

Sourcerank 3
Repository Size 2.93 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 5
Contributors 1
Tags 1
Last updated
Last pushed

Top Contributors See all

Alex Krátký

Packages Referencing this Repo

Class to work with API rate limits.
Latest release v0.1.0 - Published

Recent Tags See all

v0.1.0 September 13, 2019

Something wrong with this page? Make a suggestion

Last synced: 2019-09-14 06:16:58 UTC

Login to resync this repository