pub async fn get_request(
api_key: &str,
url: &str,
query: Option<Vec<(&str, &str)>>,
) -> Result<Response, Error>
Expand description
A function for sending GET request to a specified url with optional query parameters using reqwest client.