Function mwapi_responses::query_api

source ยท
pub async fn query_api<T: ApiResponse<U> + DeserializeOwned, U, P: Into<Params>>(
    client: &Client,
    extra: P
) -> Result<T>
Expand description

Easily execute a request using the mwapi crate.

Any extra custom parameters can be passed in to the function and were merged with the default request parameters.