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

Add support for DurationInTraffic #157

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

PeterDavidson
Copy link

If the DepartureTime is set then Google can return congested travel times. This adds support for obtaining the new output, as well as an extra setting in the request to specify the traffic model to use.
I also updated the Newtonsoft.Json to the latest version.

PeterDavidson and others added 3 commits April 9, 2019 17:17
Add duration_in_traffic to DirectionLeg
… requested, and also updated to the latest Newtonsoft.Json
@PeterDavidson
Copy link
Author

Note that this closes #128

…t Standard 2.0 (since it was causing build errors).
@shragesmilowitz
Copy link

Any plans to accept this PR?

@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netstandard1.3</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately this change makes it much harder to approve the pull request. I would consider changing the targetframework to be considered out of scope of adding traffic_model to the request.

@ericnewton76 ericnewton76 added awaiting reply out-of-scope Currently has an out-of-scope change that might be limiting the desirability to merge labels Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting reply out-of-scope Currently has an out-of-scope change that might be limiting the desirability to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants