Skip to content

Add information about ratelimit to ApodResponse #38

@MarcusOtter

Description

@MarcusOtter

Is your feature request related to a problem? Please describe.
There is currently no way of knowing how many requests you have left when using this wrapper.

Describe the feature you'd like
It would be convenient to add two fields HourlyRequestLimit and HourlyRequestsRemaining to the ApodResponse. This can easily be added by reading the headers X-RateLimit-Limit and X-RateLimit-Remaining from the response headers.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions