Skip to content

Commit

Permalink
Format JSON and README (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbede authored Jan 24, 2024
1 parent 5e3baac commit b517876
Show file tree
Hide file tree
Showing 3 changed files with 555 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# aioelectricitymaps

Async Python 3 wrapper for Electricity maps
12 changes: 11 additions & 1 deletion tests/fixtures/response.json
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
{"_disclaimer":"This data is the exclusive property of Electricity Maps and/or related parties. If you're in doubt about your rights to use this data, please contact [email protected]","status":"ok","countryCode":"DE","data":{"datetime":"2023-10-02T08:00:00.000Z","carbonIntensity":474,"fossilFuelPercentage":42.22},"units":{"carbonIntensity":"gCO2eq/kWh"}}
{
"_disclaimer": "This data is the exclusive property of Electricity Maps and/or related parties. If you're in doubt about your rights to use this data, please contact [email protected]",
"status": "ok",
"countryCode": "DE",
"data": {
"datetime": "2023-10-02T08:00:00.000Z",
"carbonIntensity": 474,
"fossilFuelPercentage": 42.22
},
"units": { "carbonIntensity": "gCO2eq/kWh" }
}
Loading

0 comments on commit b517876

Please sign in to comment.