sunny

Functions

pub fn new() -> Client

Creates a new Open-meteo client with the default values (you probably won’t need anything more).

If you have a commercial Open-meteo API acess, check out new_commercial.

pub fn new_commercial(key: String) -> Client

Creates a new commercial Open-meteo client with the default values. Takes your Open-meteo api key as an argument.

pub fn set_base_url(client: Client, url: String) -> Client

Takes a Client and returns a new one with a custom base url.

Search Document