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-299
Successful response400-499
Client error response500-599
Server error response
Defined in
url
• url: string
Original request URL