CodeForAfrica / CodeForAfrica/sensors.AFRICA
Dynamically fetch Cities data from API
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 24
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
The list of cities that currently display data were added statically as [here](https://github.com/CodeForAfrica/sensors.AFRICA/blob/d8bb379a6b93033bc8c02c41dab6f807433c0295/src/lib/api/index.js#L80)
We should be able to fetch cities data from the API endpoints http://api.sensors.africa/v2/cities
Contributor guide
Assessment
This issue has not been assessed yet.