ApiRequest
Represents a request to a NASA API
Source code in src\nasa_api\api_request.py
endpoint
property
writable
Gets the endpoint url for the request.
request_data
property
Gets the request data from the request made the endpoint.
__init__(endpoint)
Creates an instance of the ApiRequest class.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
endpoint
|
str
|
The endpoint url for the request. |
required |