Getting started

First, make sure you added the sunny package to your gleam project !

gleam add sunny

To start interacting with the diffent Open-meteo (OM) APIs, you need to create a new sunny client :

import sunny

pub fn main() {
  let sunny = sunny.new()
}
If you have a commercial access to Open-meteo ```gleam let sunny = sunny.new_commercial("") ```

Using the APIs

Now you can start using the other APIs :

More APIs will be supported in the future.

You can check the various examples to get an idea of how to use the APIs.

Search Document