[][src]Function rparif::episode

pub fn episode(api_key: &str) -> Result<Vec<Episode>, RParifError>

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

Arguments

  • api_key - API key

  • cities - List of INSEE city code. See here or here to find corresponding code

Errors