Giter Site home page Giter Site logo

seyi-adeleke / nigerian-states-api Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 13.0 56 KB

An api for basic information about all 36 states in Nigeria

Home Page: https://nigerian-states-info.herokuapp.com/

JavaScript 81.67% HTML 18.01% Procfile 0.33%
api-rest nigeria

nigerian-states-api's Introduction

Introduction

This provides an unofficial API for obtaining basic information about all 36 states in Nigeria. Built with NodeJs and Mongo.

API Routes

  • /api/v1 - Returns information about Nigeria
  • /api/v1/states - Returns information about all Nigerian states
  • /api/v1/states/:name - Returns information about the specified state

Method

GET

Disclaimer

I cannot independently verify that the information in this API is 100% accurate.

nigerian-states-api's People

Contributors

adetokunbo-paystack avatar bzmp125 avatar kristofajosh avatar seyi-adeleke avatar vynessa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nigerian-states-api's Issues

API not functional

Hi @seyi-adeleke please note that there is an issue with the API.

Please if you are using mlab for the application, please switch to mongodb Atlas as Heroku has discontinued the feature.

Hope to hear from you soon.

image

Best regards

Outline the kind of data each endpoint will expose in the docs

for each endpoint on the docs, we should have an object that shows the list of data the endpoint will expose when it is called. i.e
state = {
name: ""
governor: "",
landmark: ""
},
this is according to the model of DB.
then give an example with one state API call.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.