https://github.com/jrop/bsf-member-distances
https://github.com/jrop/bsf-member-distances
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jrop/bsf-member-distances
- Owner: jrop
- Created: 2016-08-15T21:01:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-01T17:29:21.000Z (almost 9 years ago)
- Last Synced: 2025-07-13T05:45:52.044Z (about 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
bsf-member-distances
====================
A simple utility to calculate distances from BSF members to each airport: KGXY and KFNL.
## Requirements
Install Node.js 6+.
## Generating Data
Step 1: Obtain a Google Maps Directions API key, and place it in a file named `maps-api-key.js` like so:
```js
module.exports = 'YOUR_API_KEY'
```
Step 2: Go to the Roster page on the MyFBO website, and run the snippet located in `extract-members.js`.
Step 3: Save the generated JSON to a file named `members.json` in this directory.
Step 4: Run the following commands:
```sh
npm install # install dependencies
node index.js > results.csv # generate CSV
```
Step 5: Open results.csv with Excel, add computations, etc., then save as XLSX.