Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fachryansyah/geo-utils-api

Geo Utils Api: help you to save your usage billing of maps apis, this library can find a place with sugesstions by query & can take looks the lat-long position based on addresses.
https://github.com/fachryansyah/geo-utils-api

Last synced: 22 days ago
JSON representation

Geo Utils Api: help you to save your usage billing of maps apis, this library can find a place with sugesstions by query & can take looks the lat-long position based on addresses.

Awesome Lists containing this project

README

        

# Geo Utils API
Geo Utils Api: help you to save your usage billing of maps apis, this library can find a place with sugesstions by query & can take looks the lat-long position based on addresses.

This library using puppeteer-core as scrapper so you need install the browser first, and passing the executable path to the argument.

## Installation
```bash
$ npm i geo-utils-api
```
or
```bash
$ yarn i geo-utils-api
```

## Usage
```js
const geoUtils = require('geo-utils-api');
const instance = new geoUtils({
executablePath: "/Applications/Thorium.app/Contents/MacOS/Thorium", // your chrome path
timeout: 1000 // timeout navigation
});

console.log(await instance.geocodeAddresses('Junior High School State 68 of Jakarta'));
```