Even though it's not ready we have an overview how we want the API to work. We may make changes in production of the API but this is the main idea.
The JS client will contain the API URL which would be a JS file. This will be combined with the API key and Project ID to authenticate requests to the service. We would also provide a CSS file to style the carousel which may be inline with the JS file or a separate CSS or SCSS file. We're still deciding π€·π»ββοΈπ . The target would be developers who feel like using traditional JS for API integration.
The NPM library will contain the bundled API for the service. This would ideally be written in Typescript and Node or any backend we eventually settle for, this would be in the NPM registry and developers can seamlessly integrate this in their react apps and using a designated function along side their API key and Project ID to authenticate requests.
Maybe you're a non-techie or maybe you're a techie and don't want ads on your website (even though using the API pays more π), but you still want to use the API, we also plan to build a CLIENT friendly version of the API such that you won't need an API key or Project ID to authenticate, we would take all of that and jam it in a link and say "Hey, share this for us please" and you get paid per click! Simple
This API will allow developers access all the States and LGAs in Nigeria. Developers can dynamically fetch all states with or without their LGAs
Make your users have premium text editor feel on your website with our API
Offline Website Builder