owapis-js
This is the official ES2015 JS SDK for the Otherwise SAS Apis (owsas.com)
Installation
$> npm i --save owapis-js
Usage
const OwApis = ; // initialize first (obligatory)OwApis;
API docs
/*** Reverse geocodes any given lat lng using Google* @param* @param* @return {Promise<any[]>}*/static ; /*** Geocodes any given string using Google* @param* @return {Promise<any[]>}*/static ; /*** Gets own ip information using GeoLite2-City* @return */static ; /*** Gets ip information using GeoLite2-City* @param* @return */static ; /*** Gets information about a country with given countryCode* @param* @return {Promsie<any[]>}*/static ; /*** Gets information about a country with given countryCode* @param* @return {Promsie<any[]>}*/static ; /*** Gets information about a country with given countryCode* @param* @return {Promsie<any[]>}*/static ; /*** Gets information about a country with given code* @param* @return */static ; /*** Gets information about a country with given code* @param* @return {Promsie<any[]>}*/static ; /*** Gets all the world languages* @return {Promsie<any[]>}*/static ; /*** Gets information about a language with given langCode* @param* @return {Promsie<any[]>}*/static ; /*** Makes a request to the OWSAS Api. Feel free to use it if you * know the urls of the API* @param* @param* @param {{query:any, body:any}} options * @return {Promise<any>|Promise<any[]>}*/static ;
Credits
Juan Camilo Guarín Peñaranda
Otherwise SAS, http://owsas.com
Hecho con <3 en Colombia
License
MIT