Skip to main content

Get info about countries and states

Project description

Geography API

geography has information for:

Australian States and Territories (AST)

Canadian Provinces and Territories (CPT)

Continents (CNT)

Countries (CNR)

South African Provinces (SAP)

USA States and Territories (UST)

USA Regions (USR)

Planned upcoming subdivisions:

Brazil States (BRS)

China Provinces (CHP)

Ethiopia Regions (ETR)

France Regions (FRR)

Germany States (GRS)

India States and Territories (IST)

Japan Prefectures (JPP)

Mexican States (MXS)

Russia Federal Subjects (RFS)

Saudi Arabia Provinces (SRP)

Spain Regions (SPR)

United Arab Emirates - Emirates (AEE)

The information you can get:

Check if country/state/province/territory exists (AST, CPT, CNT, CNR, SAP, UST, USR)

Get area in Kilometers (AST, CPT, CNT, CNR, SAP, UST, USR)

Get area in Miles (AST, CPT, CNT, CNR, SAP, UST, USR)

Get area ranking (AST, CPT, CNT, CNR, SAP, UST, USR)

Get area ranking dictionary (AST, CPT, CNT, CNR, SAP, UST, USR)

Get capital (AST, CPT, CNR, SAP, UST)

Get URL of flag (AST, CPT, CNR, SAP, UST)

Get GDP (AST, CPT, CNT, CNR, SAP, UST, USR)

Get GDP ranking (AST, CPT, CNT, CNR, SAP, UST, USR)

Get GDP ranking dictionary (AST, CPT, CNT, CNR, SAP, UST, USR)

Get GDP per capita (AST, CPT, CNT, CNR, SAP, UST, USR)

Get GDP per capita ranking (AST, CPT, CNT, CNR, SAP, UST, USR)

Get GDP per capita ranking dictionary (AST, CPT, CNT, CNR, SAP, UST, USR)

Get largest city (AST, CPT, CNT, CNR, SAP, UST, USR)

Get name from alpha code (AST, CPT, CNR, SAP, UST)

Get population (AST, CPT, CNT, CNR, SAP, UST, USR)

Get population ranking (AST, CPT, CNT, CNR, SAP, UST, USR)

Get population ranking dictionary (AST, CPT, CNT, CNR, SAP, UST, USR)

Get population density in kilometers (AST, CPT, CNT, CNR, SAP, UST, USR)

Get population density in miles (AST, CPT, CNT, CNR, SAP, UST, USR)

Get population density ranking (AST, CPT, CNT, CNR, SAP, UST, USR)

Get population density ranking dictionary (AST, CPT, CNT, CNR, SAP, UST, USR)

Get alpha from name (AST, CPT, SAP, UST)

Get alpha3 from name (CNR)

Get alpha2 from name (CNR)

Get is State/Province/Territory type. (AST, CPT, SAP, UST)

Get continent. (CNR)

Get region. (UST)

Get countries in continent. (CNT)

Get States in region. (USR)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geography-0.0.48.tar.gz (186.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page