CodeForAfrica / CodeForAfrica/sensors.AFRICA

Dynamically fetch Cities data from API

Open
#368 0 comments 0 reactions 1 assignee Claimed by @gideonmaina View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.