HERE Historical Traffic Flow Data - xmlhttprequest

How to get historical traffic flow data via http request? I know that HERE provide real time traffic flow data but I need historical data for forecasting

Historical data is not available through a REST API on the developer portal.

Related

How to filter the data sent to a Shopify webhook?

While creating a webhook for Shopify 'Order creation' event, how can I filter the data that is sent in the POST request JSON? It tends to send all the data by default, which includes lots of customer information which I don't want to share with the webhook. I couldn't find any option in the Admin dashboard.
Shopify just sends the whole order. If you want to limit that you could write your own webhook receiver and then filter and re-post the filtered data.
Some really low cost infrastructure for that would be an AWS Lambda function.
Rewind has a nice post showing the AWS setup needed for that which posts the webhooks to a queue to serialize downstream processing and handle spikes. You should be able to leverage their example to filter and there are tons of examples of how to post the filtered data on the internet.
Shopify webhooks are HTTPS. That means the payload is encrypted from prying eyes. Secondly, the webhook endpoint you create can inspect that security as Shopify includes authentication tokens.
So whether a webhook contains data you want or do not want, there is no sharing of that information with anyone. It is up to you to not share once you receive it. But that has zero to do with Shopify or the webhooks.

Distributing API calls to users for web app

We are trying to call one of Google's APIs and analyze the data and then display it for the user on our site. We realize we can make calls to the API through our server using php or python, but because of Google's limit, we are looking for an option that will have the API call come from the user, instead of our server. Is there a way for a web app to distribute the requests amongst the users instead of make all the calls from our server?
Thank you very much as this has been a tricky one to Google.
I highly doubt that this is possible. The API request is per API key and you can't provide every user with their own API key.
If the scenario you are trying to achieve requests possibly the same data for multiple users. I highly suggest you save/cache the API request. This will minimize the times your server send API request to google since you saved that request to your server. You can then set an expiration for your saved/cached API request to renew X days.
Scenario
user 1: request data for item 123 from API.
server: sends request to API server, and save
user 2: request data for item 123
server: return saved API response

REST API - Best practice for 'real time' data

I am developing a dashboard where all (direct) messages, tweets, etc directed at the user will be displayed in one dashboard. All the social media vendors have (OAuth) Rest APIs.
When developing a 3rd party program for an service like Twitter. Is it good practice to request data from the service's API every X milliseconds/seconds, or is there a better way?
It depends on which Twitter API you are interested in. Most of the REST API endpoints have published rate limits found here. If any of these suit your needs, then you would calculate the appropriate frequency of requests that would keep your from exceeding the rate limit.
Alternatively, if you are accessing Twitter's Streaming API, you would never close the connection.

How to get data from multiple sites using executeUserSearchRequest API

I recently signed-up for 30-days Yodlee developer trial.
I am trying to pull the financial data using Yodlee REST APIs. After adding a bank account (for bank B1: site in Yodlee's terminology), I could pull the data using executeUserSearchRequest​ API. However, after that, I added another account (for bank B2), and when I pulled the data, it fetched data ONLY from B2's account and not from B1's account. It seemed like, executeUserSearchRequest​ API is pulling the data from the most recent account. My goal is to pull the data from all added sites.
Any help would be appreciated?
Thanks!
If you need to pull the data from all added accounts, you do not need to pass any account id in the API and it will automatically pull all the data from the integrated accounts. So please make sure that you do not pass any value for transactionSearchRequest.searchFilter.itemAccountId.identifier parameter.
Please refer to the Yoodle API documentation for further details.

Real time tick by tick stock quotes using an IP and port

I want to retrieve real time stock market data from a server with an IP address and port.
What information is out there for acquiring this data?
It depends upon what kind of service is provided on the server which gives you the tick by tick data. It can have an API which you can consume like the one Yahoo has.
You do not need client server programming. From what I know is you can create a web application and use Yahoo! Finance API for getting stock ticker.
Check this for more information
http://help.yahoo.com/kb/index?page=content&y=PROD_FIN&locale=en_US&id=SLN2340&impressions=true
My Bad : do you have a server where you can get the ticks????