Skip to content

Reference data for countries, currencies, languages, regions in JSON format

License

Notifications You must be signed in to change notification settings

flowcommerce/json-reference

Repository files navigation

reference-json

Reference data for countries, currencies, languages, timezones, and regions in JSON format. We collect information from multiple sources, as well as provide our own additional metadata, and combine into a simple, canonical set of reference data that we use throughout Flow.

JSON Data

JSON data files can be found in the data/final directory.

  • Continents A list of continents and the countries they contain

  • Countries A list of countries, including metadata on their measurement system, default currency, languages, and timezones

  • Currencies A list of currencies, including metadata for localization

  • Languages A list of languages and the countries in which they are spoken

  • Locales A list of locales and specific number formats

  • Payment Methods A list of all the payment methods supported by Flow

  • Regions A region represents a geographic area of the world. Regions can be countries, continents or other political areas (like the Eurozone)

  • Timezones A list of timezones

Related libraries

go run reference.go all

Local development

We rely on a git submodule to pull in the cldr-json project. Before running the underlying commands, first run:

git submodule init
git submodule update

View commands available:

go run reference.go

Run end to end process:

go run reference.go all

About

Reference data for countries, currencies, languages, regions in JSON format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages