I could able to get details about the restaurant using google place detail api, but I need to get Amenities particularly. The Api I use is mentioned below.
https://maps.googleapis.com/maps/api/place/details/json?placeid=PLACE_ID&key=API_KEY
You can't get amenities information from this API. They don't give you access to that information on purpose because Google Maps must have a competitive advantage. So, you can link the restaurant to that location on Google Maps in order give the option to view the amenities.
Related
I am aware that Google Places API does not provide a description field (refrence) but I wondering where they get the description field you can see in their Maps?
I do not see this field when I made query in FourSquare's API.
I have also tried searching for this description in the network requests tab but do not see any JSON objects with this data.
where does it come from?
I'm utilising google autocomplete to allow visitors to enter towns, suburbs or postcodes, so that they can select the right one from the autocomplete list. I then need to store the postcode for that location so that I can compare that postcode to entries in a database to find service providers in that postcode.
The problem I'm now having is that the Google API doesn't return postcodes for all locations. This especially seems to be the case for larger cities. For example, it doesn't return postcodes for Melbourne Australia, Sydney Australia or Perth Australia.
Has anyone developed a solution or workaround to this issue? Any suggestions?
I've been googling for ages now and can't find a solution. Google itself doesn't seem to mention this situation in their Google Places docs.
Since many cities span multiple postal codes, you probably need your users to provide the exact street address where they need service. Fearing the tedium of entering a full street address? Fear not; Place Autocomplete can save them many keystrokes especially if you constrain results to a specific country or location bounds.
You might want to create an address form and use Places Autocomplete to auto-fill the components including postal code once the user selects the address from autocomplete predictions. This section of the documentation demonstrates how it works and this page provides sample Javascript code for implementing an auto-completing address form.
I was reviewing the Google Classroom API and noticed there was not an option for getting grades. I need to extract the assignment grades from Google Classroom into an external grade book app that I am creating. Does anyone know if this is possible, or how to do this?
You can definitely get grades from the API.
Classroom.Courses.CourseWork.StudentSubmissions.list(course.id, work.id).studentSubmissions
From there, loop through the studentSubmissions:
studentSubmissions[i].assignedGrade
That gets the assigned grade for that specific assignment. I also grab studentSubmissions.userId in order to get the student name. Let me know if you need anything else.
It is possible with Google Sheets and Apps Script. You can export your grades to Google Sheets and from there, you can use Apps Script to extract data from the sheets. To do that, you can check this SO question and the methods to access and modify spreadsheet sheets.
I want to fetch keys from facebook using their graph Api. Currently i am being able to fetch keys that were pretty straightforward in graph api console like frequency , reach etc. Keys like purchase, Adds to cart are not available in the graph api console and their documentation isnt very explanatory. Most of these keys are not returning any value in facebook's ads manager as well.
It would be really helpful if anyone can explain:
When these metrics will be available ?
I have seen a tool qwaya and it copies all the columns that facebook provides. How are they doing it ?
What actions are to be performed on my ad so i can see any changes in
those values ( PURCHASE , ADDS TO CART etc )
Another side note : I was using facebook-ads-sdk but now they have changed its name to business-sdk
How I can get place category or category id?
Here all categories and subcategories
http://support.google.com/places/bin/answer.py?hl=en&topic=1656882&answer=1722104#category
But places api doesn`t return cat_id
The Places API has a slightly different set of "types", which are returned in the API's Place Details response.
If you add a new place via the API should use these types, whereas bulk uploaded data should use the appropriate code in the help article you mentioned.