Traffic Adjustment

I would really appreciate if my alarm time could adjust based on the estimated travel time to a set location (eg. Work) or perhaps the next thing on my Google Calendar (eg. For a nap alarm)

I think this should be possible via the following free API:

See also: Variable alarm based on commute time