Google People API: Get contact by a specific group - api

I am migrating our code from Google Contacts API to Google People API as Google Contacts API will be deprecated soon, but I noticed new People APIs are simple to compare with the old Contacts API.
How I can find a contact for a specific group?
f.e. getContactByGroupId

Answer:
Assuming that you meant getContactGroupById instead of getContactByGroupId, you can retrieve a specific contact group in People API by calling:
contactGroups.get
Further info:
In this case, you have to provide the resourceName instead of the contact id. If you don't know how to get the former, consider taking a look at this answer.
If you are using Apps Script, you can enable the Advanced People Service and do something like this:
People.ContactGroups.get(resourceName);

Related

How can I extract player information from Riot/ubisoft/steam/epic games accounts?

I want to make an app for gamers that uses statistics from the games they play. I want to link Riot/ubisoft/steam/epic games/ account to my app and use the user's game data (with permission of-course). Is there a way to access that information? I was not able to find much on my own. Steam has web apis that might be able to get that information but I don't understand how much information I can get from there as well.
You need to use one of their internal APIs. Ubisoft uses its own demux API. There are several examples on GitHub on how to do that. In my case ,I am grabbing data from tracker.gg and Ubisoft. Here's a repo for my API Server .
https://github.com/alexanderthegreat96/dth-division2-api

How to get description for Google API nearbysearch items

I am developing a web app for client requirement in that i am using Google API for finding nearby place
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=.....
I was able to get all the required details. Name, rating, etc but only description is missing. will i be able to get it from anywhere, i tried
https://maps.googleapis.com/maps/api/place/textsearch/json?query=...
but not getting required result only country or place is getting here not restaurant or venue description. Please help me to get details for each item in nearby search result. Or any other suggestions
Based on the documentation of both Google Places API Nearby Search Requests and Google Places API Text Search Requests, description property is not included in the returned results. You could rather file for a Feature Request to include description to each returned places in the results here at Google Public Issue Tracker.
Issue Tracker is a tool used internally at Google to track bugs and
feature requests during product development. It is available outside
of Google for use by external public and partner users who need to
collaborate with Google teams on specific projects.
You can learn more about Issue Tracker through this link.
I would also like to suggest to read Google Places API Place Details. It returns more comprehensive information about the indicated place such as its complete address, phone number, user rating and reviews.
Hope this help!

Automatically get the developer contact details from search API

Is it possible to automatically get the contact details (say an email) from the developers data that is returned by the Apple API
http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html
in obj-c ?
That information is not available from the API.
What you can get using the search or lookup is the seller URL.
The Enterprise Partner Feed does include support URL information if you wanted to try and use that.

Alternative to the deprecated google REST web search API

I have been using the Google Websearch API for over 1 year now. The service was deprecated in Nov 2010 but continues to provide results to date. More recently, google has started to enforce the 1,000 queries (?) per day limit on this deprecated service. I swear, last month I made over 10,000 API calls in one day without any errors from the service (same IP, same API key).
So I guess my question is has anyone found an alternative yet? I know yahoo boss is pretty good but I am working exclusively on Google for my projects. I do not mind spending money for for this service either as long as i can get 64 results from Google.
On that thought, how are services like Zoomrank able to bypass all Google limits? I have a subscription with Zoomrank and I can get daily rankings for all my keywords. Do they have a tie-up with Google or are they just accessing some secret service I don't know about.
Some people have suggested the new Google custom search, but i dont know how does that help me search the web? Google CS is limited to the CSE you create and searches within those engines. If I am looking for web results for Pizza, Google CS doesnt help me.
Thanks for your input. Much appreciated
UPDATE: #ggez44 points to some official Google documentation of the solution described below here: http://support.google.com/customsearch/bin/answer.py?hl=en&answer=1210656
You can use the Google Custom Search Engine to search the entire web.
In brief:
Create a CSE that searches a single site (e.g. google.com)
In the CSE control panel's Basics section, set to "Search the entire web but emphasize certain sites"
In the Sites section, delete the single site that you added when you created the CSE
Full details here:
http://www.google.com/support/forum/p/customsearch/thread?tid=56c0bd92dda351b7&hl=en&fid=56c0bd92dda351b7000495e3f500d83f
Once that's implemented, you can enable billing in the Google API Console at a CPM of $5, to a total of 10,000 queries.
Google API Console: https://code.google.com/apis/console/
Pricing: https://code.google.com/apis/customsearch/v1/overview.html#Pricing

Getting a Google API Account

What URL can I visit to get myself a Google API Account? While sites point to http://www.google.com/apis and talk of "easy steps", I just can't figure it out.
Background:
There are places on the web that offer google services if you give them your Google API account key (in my case http://www.freesitemapgenerator.com and index retrieval).
They say to go to http://www.google.com/apis, but that just redirects me to http://code.google.com. There are no "easy instructions" for me to follow to get an account.
Am I going crazy here? (I have analytics and webmaster tools etc activated, so I somewhat know what I'm doing).
Since December 2006, Google is no longer issuing these API keys
As far as I understand, you apply for an API key, and you can do that with any Google account. The various API's appear to require different keys. To get a key for the Maps API, visit:
http://code.google.com/apis/maps/signup.html
The products directory on Google Code lists each of the products for which Google appears to offer some sort of interaction from developers, some of which have API keys. Take a look at that page and visit the home page for each product in order to obtain a key.
Specifically, you can look at the Google AJAX API's page, which features each of the products for which an AJAX API exists.
You need to create project, as API key is associated with project. Here you can do this
https://code.google.com/apis/console/
Maybe have a look here and remember that "A single Maps API key is valid for a single "directory" or domain".