View Code? Open in Web Editor
NEW
A library that provides data on Spain's autonomies, provinces, and cities, including their codes, names, flags, and coats of arms for seamless integration into your applications.
Home Page: https://npm.im/all-spanish-cities
License: MIT License
spanish-cities's People
Contributors
Stargazers
Watchers
spanish-cities's Issues
Steps
You can find all data in this Wikipedia article
Go to the province you are looking for.
On the right side you will find all the data.
Get the correct link for flag
and coat_of_arms
. Should be like https://upload.wikimedia.org/wikipedia/...
You have to make the changes in src/data/names/provinces.json
Add flags of autonomous communities, provinces and cities.
Rename all to "all-spanish-cities" cause "spanish-cities" is taken.