How to get Historical Traffic Data from Here API - here-api

Was looking at using the Here API to get some historical traffic data. Their website says they have historical traffic data, but I don't see a way to access it via their API other than getting a time-aware route, which takes historical traffic into account but doesn't give me info about it. Does anyone have any suggestions?

Several years is not accessible through these APIs.
Ask to be contacted from contact form on developer.here.com

use REST API from Fleet Telematics Advanced Data Sets with layer TRAFFIC_SPEED_RECORD_FC1...5
Online documentation is there:
https://developer.here.com/documentation/versions
look for "Fleet Telematics Advanced Data Sets"

Related

Monitoring how many request by key

I Possible trace how many requests an API key made on my gateway URL?
Because I need to create a report of the API usage.
Thanks
I see you are using google clouds endpoints, in that case it is easier just to go with the google products:
https://cloud.google.com/monitoring/custom-metrics/reading-metrics
Google cloud already provides all the metrics that you need.
Additionally to #Kram's response, if you need to monitor API usage per client (or not only per API key) you will need to create specific one GCP project per API client to able to track it

Is there anyway to query data from the past on HERE api? (e.g. traffic data from L.A. last week wednesday at 2 p.m.)

I've checked the docs, but I found nothing. Is there a way to query data from the past. Is this a feature that is available through premium accounts?
Direct access to historic traffic data is not available via the developer portal. Please use the contact form to reach out to a HERE representative. (That said, historic traffic data is taken into account for features such as routing, e.g. when asking for a traffic enabled route in the future.)

GET Goals from Google Analytics using API Method with Date Range

I am trying to get the goals from our google analytics account but applying a date range. I haven't seen in the documentation a way to pass a date range for this method. Any help would be appreciated! Thanks!
Testing using their API test page here: https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/goals/get
GET https://www.googleapis.com/analytics/v3/management/accounts/accountId/webproperties/webPropertyId/profiles/profileId/goals/goalId
When I pull the request using the their test API page, I am assuming it is only pulling the goal conversions for the day I am making the request, not for all of time.
I think you might be confusing the reporting api with the management api.
If you want to get data out of GA, use the reporting api.
If you want to configure GA or read GA configurations, use the management api.
In your case, you want to REPORT on the goals, but you're using the management api to do so.
You should use the reporting API to get a list of goals completed.
Reporting API reference/documentation: https://developers.google.com/analytics/devguides/reporting/core/v4/

Google maps traffic prediction API V3

Is there a way to implement the google traffic prediction described in the link, with the maps api?
maps traffic prediction
the question and the accepted answer are from 2012.
Since October 2015 it IS possible to get routes and predicted travel times for future trips.
You can supply departure_time with your route plan request. Note that this feature only works if you connect using an API key.
It's based on historical data, and when the trip is in the near future, it uses live traffic data.
https://developers.google.com/maps/documentation/directions/intro#RequestParameters
No. Here's the API documentation: https://developers.google.com/maps/documentation/javascript/layers#TrafficLayer
Traffic prediction is not part of the API. It is included in Google Maps (their own, not others' maps via the API), so it will be possible to use undocumented calls to get the data. But they don't like people doing that and it could have unintended consequences.

Can I present google analytics data to users within my application?

I'm creating an auction site and would like to provide my sellers with analytics related to their product pages - visitors, search terms, etc. I could roll my own analytics but want to know if it is possible (or forbidden) to use google analytics within my application and present that data to my users. Is this possible, has anyone done this and, if so, how did you go about it. Thanks in advance
Sure, you can do this.
The easiest method is to give your sellers direct access to GA. I have no idea how you have your GA interface setup but you can setup profiles in lots of different ways (filters, segments, etc..) to have the profile show data only for the specific seller, and give their GA account access only to their profile.
Alternatively, GA provides an API for retrieving data from them and displaying on your own site.
Also you can provides Real time data reporting via Google's Real Time API - https://developers.google.com/analytics/devguides/reporting/realtime/v3/devguide
Which will provide several data in the manner of dimensions and metrics

Resources