Many of you has worked on LBS application in android and also used the Google Places API web service for the information of various places. And you may also noticed that the data for India specifically is not accurate means many of places that you know are not their on the map.
So my question is that is there any way that you can add your database to Google's Places API Web service in the form of XML/JSON? If yes then please let me know how it is possible.
Have a great day ahead!!
Places add requests :
Place Report requests are used to add new Places, or delete existing ones. New Places will be available immediately in Place Searches initiated by your application, and will enter the moderation queue to be considered for Google Maps. A newly-added Place will not be available to other applications until it has been approved by the moderation process.
Places that have been added by your application can also be deleted, until they have been moderated. Once moderated and added into the full Place Search results, a Place can no longer be deleted. Places that are not accepted by the moderation process will continue to be visible to the application that submitted them.
POST https://maps.googleapis.com/maps/api/place/add/json?sensor=true_or_false&key=api_key HTTP/1.1
Host: maps.googleapis.com
{
"location": {
"lat": -33.8669710,
"lng": 151.1958750
},
"accuracy": 50,
"name": "Google Shoes!",
"types": ["shoe_store"],
"language": "en-AU"
}
(from: Google Places API : Add Place Privacy)
The Place Add has been deprecated on June 30, 2017 and will stop working on June 30, 2018. So you cannot use this method anymore. For further details please refer to the corresponding post.
Related
I have my project linked to google's new (as of october) SDM OAuth scheme and I am able to talk to https://smartdevicemanagement.googleapis.com/v1/enterprises/project-id/structures.
My nest doorbell cameras appear on the json response:
{
"devices": [
{
"name": "enterprises/...",
"type": "sdm.devices.types.DOORBELL",... ..
But the thermostat does not appear here.
I do see it on the nest app itself so I'm pretty sure its all linked. I even see it in the radio check box.
How do you add devices when they are not detected? Is this an account issue, where somehow my thermostat is stuck in Nest legacy and everything else is on the new SDM system?
I just experienced this same issue today: my thermostat had been exposed via the SDM API for months, along with my cameras, but suddenly today the thermostat disappeared from the API despite still showing up with access granted during the account linking flow. Per Greg's suggestion in the comments, I moved the thermostat to a different room in the Nest app and then moved it back, and it's now showing up in my API calls once again. I'd recommend trying that as a solution for anyone else with this issue.
I am looking to develop an addin for Outlook using the Office JS API. Reading the API documentation, there are a number of references to making a call to the Outlook REST API to do various things.
As an example, I want to retrieve a list of contacts from the local machine. I have seen posts suggesting I need to make a call to the Outlook REST API, however this doesn't make sense to me. If they are local/offline contacts, why would I need to do that? I feel as though I'm missing some relationship between the two.
A screenshot for the list of contacts I want to retrieve:
Question
Could someone outline how they fit together (if at all)? Is it expected that if I'm going to effectively use this API, I will also need to have my data "online", such that it's available from some REST service?
As the contacts are stored locally it can not be retrieved using REST API. Getting the contacts via Office JS is not possible today. We track Outlook add-in feature requests on ourĀ user-voice page. Please add your request there. Feature requests on user-voice are considered, when we go through our planning process.
I am writing a generic integration that needs to use the database in Dynamics 365 for Customer Engagement as the system of record. I will be polling it from time to time to keep data up to date in other ancillary systems. I can know, of course, when records have changed by inspecting the "modifiedon" attribute. I can build a query saying "give me all the records that have changed since the last time I asked". It would, however, also be optimal to be able to know what records have been DELETED since the last time I asked. I have a similar integration with Salesforce, and that is trivial to do with the SalesForce API, but I can't see how to do it with the Dynamics 365 API.
It appears that the only option to me might be to keep a list of all the record primary keys in my integration, and download on each poll ALL records existing in CRM and then figure out the deleted ones on my own by their absence. That is pretty ugly and inefficient though.
Any ideas or advice?
MS introduced change tracking for this purpose.
The change tracking feature in Dynamics 365 for Customer Engagement Customer Engagement provides a way to keep the data synchronized in a performant way by detecting what data has changed since the data was initially extracted or last synchronized.
The sample web api request below:
GET [Organization URI]/org1/api/data/v9.0/accounts?$select=name,accountnumber,telephone1,fax HTTP/1.1
Prefer: odata.track-changes
Response will have delta link with a delta token:
"#odata.deltaLink": "[Organization URI]/api/data/v9.0/accounts?$select=name,accountnumber,telephone1,fax&$deltatoken=919042%2108%2f22%2f2017%2008%3a10%3a44"
When you use the above URI, you can get the changes including deleted entries.
{
"#odata.context":"[Organization URI]/data/v9.0/$metadata#accounts(name,telephone1,fax)/$delta",
"#odata.deltaLink":"[Organization URI]/api/data/v9.0/accounts?$select=name,telephone1,fax&$deltatoken=919058%2108%2f22%2f2017%2008%3a21%3a20",
"value":
[
{
"#odata.etag":"W/\"915244\"",
"name":"Monte Orton",
"telephone1":"555000",
"fax":"10101",
"accountid":"60c4e274-0d87-e711-80e5-00155db19e6d"
},
{
"#odata.context":"[Organization URI]/api/data/v9.0/$metadata#accounts/$deletedEntity",
"id":"2e451703-c686-e711-80e5-00155db19e6d",
"reason":"deleted"
}
]
}
Sample: Synchronize data with external systems using change tracking
I would like to contribute to this question which gave me excellent advice for the direction to take.
Although poorly documented on the official Dynamics doc and not mentioned where Change Tracking is explained, this powerful feature is also available in the Soap API:
https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveentitychangesrequest?view=dynamics-general-ce-9
https://learn.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveentitychangesresponse?view=dynamics-general-ce-9
I hope this helps someone.
As of today (5/25/2016) there seems to no longer be data for user_ratings_total in the Google Places API. I use this to get the total number of reviews for a business. Is there an alternative method to getting this data?
If you would like Google to reinstate the previously undocumented user_ratings_total result key (or something similar), then please go to: https://code.google.com/p/gmaps-api-issues/issues/detail?id=3484 and add your vote for this feature to be officially added.
This issue was "Acknowledged" by Google way back on Jun 3, 2013 and is still open as such (other similar issues like https://code.google.com/p/gmaps-api-issues/issues/detail?id=9824 have been "closed" with status like "WorkingAsIntended").
Hopefully if we get enough up votes then maybe they will see the need and put it back in and make it official (as opposed to undocumented).
(Unfortunately I couldn't post this as a Comment as I just registered; so I'm going to post it as an Answer and hope it is okay.)
I'd try the Google My Business API, see in particular the documentation section Work with Review Data.
You'll need to Request access to the API.
This is fixed now. Reposting a comment from the issue linked to above by #TechLeadAA
The total amount of ratings is now generally available for all Places
API clients as part of the Basic SKU:
https://developers.google.com/places/web-service/details#fields
https://developers.google.com/places/web-service/place-data-fields#basic
Places API: user_ratings_total
Places SDK for iOS: GMSPlaceFieldUserRatingsTotal
Places SDK for Android: Place.Field.USER_RATINGS_TOTAL
I'm facing the same issue, and it looks like total number of reviews from Google Places API is not the same as Google My Business API:
[https://www.en.advertisercommunity.com/t5/Google-My-Business-API/Total-Reviews-are-no-longer-getting-in-Google-Places-API-and/td-p/573090#][1]
With Places API, it provides the ability to add new places. How much are we sure that Google does not use these custom added places for their own marketing and research purposes. What if you want to keep these new places private to your applications. The Add Place section does not talk anything about this.
Does anybody have any information around Google privacy policy around adding new places?
As per the documentation:
By adding a place, you can supplement the data in the Google Maps
database with data from your application. This allows you to:
Instantly update the data in Google's database for your users.
Submit
new places to a moderation queue for addition to the Google places
database.
This means that places added via the Places API are reviewed and, if approved, added to the global places database that is accessible for all users. They will not be kept private to your application.
UPDATE
The Place Add has been deprecated on June 30, 2017 and will stop working on June 30, 2018. So you cannot use this method anymore. For further details please refer to the corresponding geo blog post.