Use Electricity Map API in CodeCarbon API to compute emissions
Open
Nobody has claimed this yet.
API
enhancement
P2
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 323
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 12
Description
Here is the documentation : http://static.electricitymap.org/api/docs/index.html
- Use a Redis cache to call the Electricity Map API.
- Find a way to tell the CC API if it have to compute emission or let the package do it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Electricity Map API documentation linked in the issue and inspect the CodeCarbon API integration point. Determine how Redis caching and the choice between API-side and package-side emission computation fit the existing flow; done means both requested behaviors are implemented and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, redis
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100