ApiResponse
class ApiResponse extends ArrayObject
Defines the response returned by the API.
Properties
false|int | $rateLimitResetAt | Unix timestamp of the time the hourly count will be reset. | |
int | $rateLimitAllowed | Per-hour limit. | |
int | $rateLimitRemaining | Remaining number of actions. | |
array | $headers | Response headers. |
Methods
__construct($responseJson, $headers)
ApiResponse constructor.
Details
__construct($responseJson, $headers)
ApiResponse constructor.