Skip to content

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

License

Notifications You must be signed in to change notification settings

emekaokoye/NG-States-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages