[][src]Function rparif::indice_day

pub fn indice_day(api_key: &str, day: Day) -> Result<Vec<Index>, RParifError>

Convenient function that allow easy to access indiceJour endpoint.
If multiple calls needs to be made to HTTP API, use RParifClient

Arguments

  • api_key - API key

  • day - Which day to get pollution indices for

Errors