Function get

Source
pub fn get(endpoint: &str) -> Request
Expand description

Creates a GET request builder for the TASVideos API.

The URL is set by appending the predefined [API_URL] with the provided endpoint. A User-Agent header (using the static [USER_AGENT]) and the appropriate Accept header are also set.

This can be used to create custom requests to the API, such as using an endpoint that’s unimplemented in this crate.