Skip to content

An API that helps with getting basic information like Country, State, Districts, etc.

License

Notifications You must be signed in to change notification settings

shaikyajash/OpenWorldAPI

 
 

Repository files navigation

Open World API

Find the way to get informations about countries such as countries, cities, states, districts, currency and many more from the documentation below

GitHub contributors License Badge

URLS

Countries

  • GET -> <url>/countries/get/all
  • GET -> <url>/countries/get/all/and/code

States

  • GET -> <url>/states/all/country/:country?reverse=false
    • :country = name of country -> REQUIRED
    • reverse = Sorting output -> OPTIONAL

Districts

  • GET -> <url>/districts/get/all/district/country/:country?reverse=false
    • :country = name of country -> REQUIRED
    • reverse = Sorting output -> OPTIONAL
    • For getting all the various districts in a country
  • GET -> <url>/districts/get/all/districts/:country?reverse=false&state=Himachal
    • Description: For getting all districts in a state of a particular country
    • :country = name of country -> REQUIRED
    • state = Name of state in a country -> REQUIRED
    • reverse = Sorting output -> OPTIONAL

GDCSLPU

Linkedin Twitter Instagram GitHub views

About

An API that helps with getting basic information like Country, State, Districts, etc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Other 0.6%