job-miles
v1.0.2
Published
CLI tool to calculate distances from an origin to job locations using Zenbooker API and Google Maps
Maintainers
Readme
job-miles
A CLI tool to calculate distances from an origin to job locations using Zenbooker API and Google Maps.
Installation
npm install -g job-milesUsage
job-miles --origin "123 Main St, City, State" --zApiKey YOUR_ZENBOOKER_API_KEY --gApiKey YOUR_GOOGLE_API_KEYOptions
-o, --origin(required): The origin address-z, --zApiKey(required): API Key for Zenbooker-g, --gApiKey(required): API Key for Google Maps API--created-after(optional): Returns jobs created after this datetime--created-before(optional): Returns jobs created before this datetime--output(optional): Path for the output file
Example
job-miles --origin "New York, NY" --zApiKey abc123 --gApiKey xyz789 --output distances.csvRequirements
- Node.js 18+
- Valid Zenbooker API key
- Valid Google Maps API key
License
ISC
