Ghana post Nodejs Library

sese smith
2 min readApr 24, 2019

--

ghana post

Ghana post has done tremendous work to develop such a robust product to uniquely give a digital address to every location across Ghana

This app runs on mobile (android, iOS) and web and so far works perfectly

The only problem i’ve with this service is their lack an API or SDKS for developers to easily integrate into their project. Personally I think people are underrating the capabilities of this service. Imagine how intuitive it will be if you log into a site to purchase an item and you are asked to provide your digital address for delivery instead redirection to google maps

Below is a solution provided to the problem above, a nodejs library the provides an interface for developers to programmatically interact with the ghanapost digital address system.

Installation

npm install ghpost-address

Usage

API

{ grabAddressInfo: [AsyncFunction] }

grabAddressInfo(adrress, options)


address can be PostCode, coodinates, Digital Address, Places


options is an object

{
timeout: xxxxms
}

options.timeout is in milliseconds, optional and 10000ms by default

--

--

sese smith

👨‍🎓KNUST 👨‍💻mobile(ios (swift) , android (java)) & backend (laravel,django)