What’s the difference between api key, client id and service account?

This thread is old, but still adding the information. Might help others in future. Google needs unique identifier to tie it to your project (with your android package) for authentication and to manage traffic or quotas. Oauth and API key are such unique identifiers. OAuth 2.0 client IDs: If your application is using OAuth 2.0 … Read more

Token must be a short-lived token and in a reasonable timeframe

I stumbled upon the same issue at roughly the same time, so I expected a generic bug of Google but here is what had happened on my computer : raise HttpAccessTokenRefreshError(error_msg, status=resp.status) oauth2client.client.HttpAccessTokenRefreshError: invalid_grant: Invalid JWT: Token must be a short-lived token and in a reasonable timeframe was caused in my case by a poor … Read more

Google Analytics API – Get page view information for specific URLs

Yes – you will need to use the Google Analytics API for this. I would suggest checking out the Query Explorer to get a feel for the queries you will need to create. You will require numerous queries to get all the data you need (adjusting the starting date): – Total Views – This Year … Read more

Google Calendar Push Notifications SetUp

Create a notification channel for every individual resource, then any modification to that resource you will be then notified. Information below is directly from Google (Creating notification channels). Making watch requests: Each watchable Google Calendar API resource has an associated watch method at a URI of the following form: https://www.googleapis.com/**apiName**/**apiVersion**/**resourcePath**/watch To set up a notification … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)