Skip to content

Update a Notion database with mileage between a starting address and location using Google Maps.

License

Notifications You must be signed in to change notification settings

sapanpatel123/notion-mileage-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notion-mileage-tracker

Update a Notion database with mileage between a starting address and location using Google Maps.

Requirements

Create a Notion database with the following:

  1. Text column named Location which contains a location in form of address or landmark name
  2. Number column named Mileage which will be populated by this integration

Setup

  1. Follow the instructions on this page to create a new Notion integration
  2. Create a Google Maps API key with these instructions
  3. Ensure the following is included in your .env file which should be created in the root of this repo:
NOTION_API_KEY =
NOTION_API_DATABASE =
GOOGLE_MAPS_API_KEY =
STARTING_ADDRESS = ""

Usage

Run the integration with the following command and check your Notion database to confirm it's been updated.

npm start

About

Update a Notion database with mileage between a starting address and location using Google Maps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published