Interface: APIResponse<dataType>
types/general.APIResponse
Type parameters
| Name |
|---|
dataType |
Table of contents
Properties
Properties
data
• Optional data: dataType
Response from API
Defined in
error
• Optional error: ErrorObject
Error object (if there is)
Defined in
rateLimits
• rateLimits: RateLimit
Information about current rate limits
Defined in
status
• status: number
Response status
Remarks
200-299Successful response400-499Client error response500-599Server error response
Defined in
url
• url: string
Original request URL