rte-france

Crates.iorte-france
lib.rsrte-france
version0.1.0
sourcesrc
created_at2024-10-30 21:56:07.386024
updated_at2024-10-30 21:56:07.386024
descriptionA client for France's RTE API
homepagehttps://github.com/Frankkkkk/rte-france-rs
repositoryhttps://github.com/Frankkkkk/rte-france-rs
max_upload_size
id1429280
size113,390
Frank Villaro-Dixon (Frankkkkk)

documentation

https://docs.rs/rte-france

README

Rust RTE France

This is an api around the French TSO RTE.

The main endpoints live here.

Provided APIs

Generation forecast API

Consumption forecast API

Authentication

To use the API, you need to register an account in RTE's system (free).

Then you need to create an application. To do that,

  • Go to this application
  • Click on "Abonnez vous à l'API"
  • Fill the "Créer une application" form
  • Then go to you application here
  • And copy the Client ID and Client Secret

These two variables need to be set as environment values:

  • CLIENT_ID
  • CLIENT_SECRET
Commit count: 5

cargo fmt