Closed Mr-emeka closed 4 years ago
Great feature suggestion @Mr-emeka Country unicode flags and SVG flags are already available in the data store. Maybe include both the unicode flag and actual flag image for convenience reasons. @MartinsOnuoha I could get to work on this if you don't mind.
@iambenkay Sure, you can create a separate endpoint for this or update the any of the existing endpoints, also be sure to update the response structure in the API documentation, thanks 🔥
@Mr-emeka check out this PR to know if it helps with your use case https://github.com/MartinsOnuoha/countriesAndCitiesAPI/pull/16
@MartinsOnuoha
Data to return should return with the image URL. { "error": false, "msg": "countries and currencies retrieved", "data": [ { "name": "Bangladesh", "currency": "BDT", "img": imgurl } ] }