Where can I get list of countries and there state provinces?
Last year when I was working on a project I also came across same question, I did some research I manage to find few sources but all of them were outdated so I decided to create my own gist for that.
this contains all the countries and there states and this list will update automatically every month so you don’t have to worry about outdated data.
I am using geonames dumps to create this gist so if you find any incorrect data you can update at geonames side and it will reflect in next release.
Here you can find the gist.
This post is licensed under CC BY 4.0 by the author.