Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/fachryansyah/geo-utils-api
- Owner: fachryansyah
- Created: 2024-07-29T08:03:52.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-30T02:24:33.000Z (5 months ago)
- Last Synced: 2024-11-02T05:11:44.219Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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'));
```