Skip to content

Fastest commute time apis#7

Merged
Mathuran merged 2 commits intomainfrom
fastest-commute-time-apis
Oct 3, 2023
Merged

Fastest commute time apis#7
Mathuran merged 2 commits intomainfrom
fastest-commute-time-apis

Conversation

@Mathuran
Copy link
Copy Markdown
Owner

@Mathuran Mathuran commented Oct 3, 2023

Created an API that computes the fastest travel time given a travel mode and destination.

Sample results.

{
  "routes": [
    {
      "distanceMeters": 6812,
      "duration": "673s",
      "polyline": {
        "encodedPolyline": "omyhGtlceNkCuD?Gf@{@LCXN|EtFXd@DRCXq@tAb@l@tA{EF]u@g@uAw@cB}AqBaCSIK?qCeDsCcDiDcE{@}@gFoGoBmC}GcIkEkFqCaDkCkDqJiL}@eAc@cAiJuKeDzEg@~@Of@qEnHyG|K_@Tw@fAkEbH}GzK]b@Kd@m@fA_KbPcC~DoCjEwF`JmAtAsAvAUHc@f@oDdFyCuDeBoBaGqGiLaNiFoGyCkDoRsU{LqOgIpOGRURGDgAD"
      }
    }
  ]
}

travel times from My_House: $3025 The Credit Woodlands, Mississauga, ON L5C 2V3 to Square One $100 City Centre Dr, Mississauga, ON L5B 2C9
Fastest Driving Commute: 
0:11:13
Fastest transit commute: 
0:26:26
Fastest Bicycle Commute:
0:27:16

@Mathuran Mathuran linked an issue Oct 3, 2023 that may be closed by this pull request
@Mathuran Mathuran self-assigned this Oct 3, 2023
@Mathuran Mathuran merged commit 9050762 into main Oct 3, 2023
@Vithop
Copy link
Copy Markdown
Collaborator

Vithop commented Oct 4, 2023

you should clean up your branches

@Mathuran Mathuran deleted the fastest-commute-time-apis branch October 4, 2023 17:25
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

Successfully merging this pull request may close these issues.

Compute Commute time for Transit, Driving and biking API

2 participants