// 4 New APIs. // 1. Elevation data across Nigeria available on // cmapit API services; use cases for this API include // environmental, urban planning. let elev = 'https://api.xxxxx.xx/xxxx/xxxx/xxx'; fetch(elev) .then((response) => response.json()) .then(json => { // Do something with the data console.log(json.nigeriaElevation); }); // 2. Global air quaity data API: data presents // concentration of air pollutants, // especially those harmful to human health. let airQ = 'https://api.xxxxx.xx/xxxx/xxxx/'; fetch(airQ) .then((response) => response.json()) .then(json => { // Do something with the data console.log(json.airQuality); }); // 3. Lagos traffic data API let trafficLagos = 'https://api.xxxxx.xx/xxxx/xxxx/'; fetch(trafficLagos) .then((response) => response.json()) .then(json => { // Do something with the data console.log(json.trafficLagos); }); // 4. Potholes data API: This can be used to create a // GIS based model for road maintenance on Nigerian // roads. let potHoles = 'https://api.xxxxx.xx/xxxx/xxxx/'; fetch(potHoles) .then((response) => response.json()) .then(json => { // Do something with the data console.log(json.potHoles); });