2017 © Pedro Peláez
 

library countries-data

Country data in JSON

image

geobase/countries-data

Country data in JSON

  • Monday, March 6, 2017
  • by geobase
  • Repository
  • 1 Watchers
  • 9 Stars
  • 109 Installations
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

, (*1)

This library is aimed at providing easy to use country data in JSON format for all programming languages. Feel free to contribute., (*2)

Table Of Content

  1. Information
  2. Installation

, (*3)

Information

This library includes information on countries in multiple languages., (*4)

Here is a list of information available for countries:, (*5)

  • ISO 3166-1 alpha-2 Two-letter country codes defined in ISO 3166-1
  • ISO 3166-1 alpha-3 Three-letter country codes defined in ISO 3166-1
  • Names Country name in multiple languages, currently only English, French and German
  • Currency Currency code (eg. EUR)
  • Continent Continent code (eg. EUR)
  • Population
  • Area Area in square KM
  • Capital
  • Coordinates Latitude and Longitude for center as well as North, East, South and West coorinates of bounding box
  • Polygon Shape of the country
  • Time Zone
  • Regions

Here is a list of information available for regions:, (*6)

  • Names Country name in multiple languages, currently only English, French and German
  • Two letter code Two-letter region codes (eg. CA)
  • Four letter code Four-letter region codes (eg. US-CA)
  • Type Region type (eg. Province, State, Territory, District)
  • Time Zone
  • Coordinates Latitude and Longitude for center as well as North, East, South and West coorinates of bounding box

, (*7)

Installation

, (*8)

JavaScript/Node

To install this library using npm, run the following command:, (*9)

npm install @geobase/countries-data

, (*10)

PHP

To install this library using composer, run the following command:, (*11)

composer require geobase/countries-data

, (*12)

Download

Alternatively, you can download the latest release., (*13)

The Versions

06/03 2017

dev-master

9999999-dev https://github.com/geobase/countries

Country data in JSON

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

06/03 2017

1.0.5

1.0.5.0 https://github.com/geobase/countries

Country data in JSON

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

06/03 2017

1.0.3

1.0.3.0 https://github.com/geobase/countries

Country data in JSON

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

06/03 2017

1.0.2

1.0.2.0 https://github.com/geobase/countries

Country data in JSON

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

06/03 2017

1.0.1

1.0.1.0 https://github.com/geobase/countries

Country data in JSON

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

06/03 2017

1.0.0

1.0.0.0 https://github.com/geobase/countries

Country data in JSON

  Sources   Download

MIT

The Requires

  • php >=5.6.0