{"id":23260521,"url":"https://github.com/nmasse-itix/ego2mix","last_synced_at":"2026-02-11T00:38:10.764Z","repository":{"id":80604863,"uuid":"559006501","full_name":"nmasse-itix/ego2mix","owner":"nmasse-itix","description":"This Go library calls the Eco2mix API from RTE and returns data about the French electricity grid","archived":false,"fork":false,"pushed_at":"2022-10-28T20:46:05.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-19T13:18:56.552Z","etag":null,"topics":["electricity-grid","rte","smartcity"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nmasse-itix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-10-28T20:04:10.000Z","updated_at":"2024-02-24T08:32:50.000Z","dependencies_parsed_at":"2023-09-25T06:59:02.832Z","dependency_job_id":null,"html_url":"https://github.com/nmasse-itix/ego2mix","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"6421b22d40d8dd98f11f4921e3fb75dbcc3afd4b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmasse-itix%2Fego2mix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmasse-itix%2Fego2mix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmasse-itix%2Fego2mix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nmasse-itix%2Fego2mix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nmasse-itix","download_url":"https://codeload.github.com/nmasse-itix/ego2mix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238461548,"owners_count":19476343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electricity-grid","rte","smartcity"],"created_at":"2024-12-19T13:17:13.493Z","updated_at":"2025-10-27T07:31:46.135Z","avatar_url":"https://github.com/nmasse-itix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ego2mix\n\nThis Go library calls the Eco2mix API from RTE and returns data about the French electricity grid.\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\tego2mix \"github.com/nmasse-itix/ego2mix\"\n)\n\nfunc main() {\n\tclient := ego2mix.NewEco2mixClient(\"\", nil)\n\trecords, err := client.FetchNationalRealTimeData(1) // we want only the last result\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(\"Intensité carbone à %s en France: %d gCO2eq / kWh\\n\", records[0].DateHeure, records[0].TauxCo2)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmasse-itix%2Fego2mix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnmasse-itix%2Fego2mix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnmasse-itix%2Fego2mix/lists"}