Skip to content

Search Google Places API and store in Firebase with spatial index, for geo distance queries.

License

Notifications You must be signed in to change notification settings

cslasher/nomad_latte-etl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nomad_latte ETL

JavaScript

Installation

yarn install or npm install

Configurations

Set up (or use .env, see .env.example) for the following environment variables:

FIREBASE_API_KEY
FIREBASE_AUTH_DOMAIN
FIREBASE_DATABASE_URL
FIREBASE_PROJECT_ID
FIREBASE_STORAGE_BUCKET
FIREBASE_MESSAGING_SENDER_ID
MAP_API_KEY
MAP_HOST

Usage

Use -q to define search terms and -t for types (check Google Places API for type definitions). For example, search cafes around 忠孝東路:

node Index.js -q 忠孝東路 -t cafe

About

Search Google Places API and store in Firebase with spatial index, for geo distance queries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published