I need to retrieve the creation date of a Google Contact.
I know that I can use getLastUpdated() to get the last modified date, but I need the create date.
Is there any solution to this?
You can use Google Contacts API. From the response body you will be able to get the created date. Also this post from stackexchage suggested to use API Playground to visually walk through making a request to get the data you want from Google Contacts API.
This information is not traditionally exposed through the Google
Contacts online interface. However! You can get access to "created"
and "updates" dates and times using the Google Contacts API.
If you're not a developer, you can use the API Playground to visually
walk you through making a request to the Google Contacts API to get
the data you want.
Related
I have an app that fetches a user's contacts from the Google Contacts V3 API after the user authenticates via OAuth2 (the requests are made using JSON). While my code works great in most circumstances, I have noticed that the API returns an empty title hash for contacts that get created automatically through emailing an address for the first time, which is less than ideal.
When I view "Other Contacts" under Google Contacts (where Google assigns these automatic contacts), these contacts seem to have an accurate title attribute. Is there a way I could potentially get access to this value? The response body doesn't seem to return this value within a contact entry.
Thanks.
I have retrieved all my contacts using Google Contact API. Now, i want to get the google profile info of all those contacts using the get request as mentioned in this People API GET link. But i do not see any id in the response to make a request.
The Contacts API and People API are separate API's not meant to interop with each other.
That said, the reverse engineered way to do this is to take the Contacts API contact ID, parse that hexadecimal value, convert it to decimal, and add a 'c' prefix to it, and that becomes the People API person resource ID.
e.g. if the Contacts API contact ID was 100, then the People API person ID would be c256. When you fetch contacts from the People API in this fashion, it'll have the joined profile information, if present.
I have a few Google Map locations added at my business.google.com account.
I'm trying to find a way to request all of them from my account; to include them in my website.
I've already signed up for my API key, and added my trusted domain, but I haven't found a way to request all of them with the API without already knowing either their locations or place ID.
My goal here is to manage only one list at Google account to keep them updated. I don't want double-management, adding and editing them both at my Google account and my website database.
I've figured out that I can download my locations as cvs file, that could be then uploaded to my website database when a location is edited or updated. But is there any way to request a json with them directly with the javascript API from within my website domain in one ajax request?
E.g. 'https://maps.googleapis.com/maps/api/place/details/json?key=MY-KEY&someOtherParam=toGetThemAll'
Thanks in advance
You can look into Google My Business API:
https://developers.google.com/my-business/content/prereqs
There is a REST endpoint to get a list of locations related to one account:
https://developers.google.com/my-business/reference/rest/v3/accounts.locations/list
I am working on a web application that among other things maintains its own calendar. I want to allow people with gmail accounts to subscribe to this calendar feed. Based on the research I made I can do it by outputting an iCalendar formatted file into a publicly accessible location and direct google calendar to subscribe to this location. What I am trying to find is some technical documentation about how google performs these requests for feed updates, so I can generate the csv files correctly and efficiently. For example what is the frequency of the requests, what is the format of those requests and so on. All I could find API documentation about how to pull information from google calendar. But this is not what I need. Basically I want to create the csv files on demand instead of maintaining them constantly, hence I need to be able to intercept google requests for calendar sync and handle them accordingly. Can somebody point me into the right direction?
I'm using YQL to query a Google Spreadsheet for a list of ISBN's. I'd like to take those ISBN's and use Google Books API to generate a column of Google Preview buttons for those books.
Here's a fiddle I've started:
http://jsfiddle.net/SpuXG
Now in this example from Google, ISBNs are submitted as a form and that input is used by the Google API / JSON.
http://goo.gl/b15yC
Is there a way to get Google's API to take the ISBNs from the existing JSON object from my YQL instead of the input form?
The only way I've found to do something similar is via Google Books bookshelves (not with a spreadsheet or YQL). Here's a fiddle: http://jsfiddle.net/TECHg/1/