Code Monkey home page Code Monkey logo

countries-states's Introduction

Full Country and State list of our planet

The repository contains a JSON file with a complete list of the 250 countries of the world. Included with all states of every single country. The format of the full list is like following:

[
	{
		"code2": "AT",
	    "code3": "AUT",
	    "name": "Austria",
	    "capital": "Vienna",
	    "region": "Europe",
	    "subregion": "Western Europe",
	    "states": [
		    {
		        "code": "B",
		        "name": "Burgenland",
		        ubdivisio
		    },
		    ...
		]
	},
	...
]

A country-element consists of:

  • code2 - Country code out of 2 letters

  • code3 - Country code out of 2 letters

  • name - the name of the country

  • capital - the name of the capital

  • region - the region/continent of the country, possible values: Asia, Europe, Africa, Oceania, Americas, Polar

  • subregion - the subregion of the country inside the region, possible values: Southern Asia, Northern Europe, Southern Europe, Northern Africa, Polynesia, Middle Africa, Caribbean, South America, Western Asia, Australia and New Zealand, Western Europe, Eastern Europe, Central America, Western Africa, Northern America, Southern Africa, Eastern Africa, South-Eastern Asia, Eastern Asia, Melanesia, Micronesia, Central Asia, * states

  • states

A state-element consists of:

  • code
  • name
  • subdivision (can be e.g. 'London borough', 'council area', 'country', ...)

countries-states's People

Contributors

stefanbinder avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.