API for listing all the States in Nigeria from the web of data using Linked Data and PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
www
LICENSE
README.md

README.md

NG-States-API

API for listing all the States in Nigeria from the web of data using Linked Data and PHP

INSTALLATION

  • Copy 'getstate.php' into any web accessible directory of choice.
  • Enter the location of the file on your browser to get a listing of States in Nigeria (e.g http://example.com/states/getstate.php).

NOTE

Default response format is JSON. To get other types of format, simply append format type to the 'f' query string variable (e.g http://example.com/lga/getlg.php?f=xml). Supported options include:

  • json
  • xml
  • csv
  • ttl
  • rdf

A live demo is running at http://linkedopendatang.com/entity/state/getstate.php