Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to specify route? #12

Open
bdantas opened this issue Jan 14, 2018 · 3 comments
Open

how to specify route? #12

bdantas opened this issue Jan 14, 2018 · 3 comments

Comments

@bdantas
Copy link

bdantas commented Jan 14, 2018

Thank you for this software. It is quite ingeneous. Is there a way to specify route? There are two main routes between my home and work, and I'd like to get the commute time for each route so that I can compare.

[Background: I'm trying to create a cron job that will run every morning, get the commute time for each route, then send me a text message advising which of the two routes is best.]

@KyleBanks
Copy link
Owner

Oh this is a great idea. Currently no, there is no way to specify a route. The Google Maps API does support this however, so it is possible.

How would you see this working? The only way I can see it is by having a route file you can provide, which details each step of the commute.

@bdantas
Copy link
Author

bdantas commented Jan 15, 2018

Good to know it is possible. I know nothing about the API, so can't help with implementation but would love to help with testing if you choose to implement this feature. I have the time and motivation to get this to work. A route file sounds reasonable as long as the required format is clearly specified.

@kernc
Copy link

kernc commented Jan 18, 2018

Or instead of just --from and --to, you could also support multiple (or a ,-separated list of) --via. Maps surely knows how to work with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants