amckenna41 / iso3166-2

A lightweight Python package, and accompanying API, that can be used to access all of the world's most up-to-date and accurate ISO 3166-2 subdivision data, including: name, local name, code, parent code, type, latitude/longitude, flag and more.
https://iso3166-2-api-amckenna41.vercel.app/
MIT License
8 stars 0 forks source link

Regions flags no longer work #18

Closed SirCypkowskyy closed 2 months ago

SirCypkowskyy commented 3 months ago

While attempting to use the Python package, I noticed that the links to the region flags no longer function - the iso3166-2-icons repository itself was hidden.

Therefore, are there any alternative methods to fetch the flags for each region? Will the repository be made public again? And if not, is there an option to use links to wikimedia files instead of links to the closed repository? Perhaps you might have a CSV file with such data mapping?