Include Review,Rating and Images in places API - here-api

I am implementing Places rest api, In request i have included show_content and show_refs like
https://...v1/places/...&show_content=wikipedia&show_refs=tripadvisor,facebook
I m receiving object with TripAdvisor id in response but rating and review objects are always empty.
However when i try to search same place on wego.here.com i can see the reviews and images in response from TripAdvisor, and there is no difference in my api call. How i can get data in these objects from here.com.
Do i need to implement facebook graph api or TripAdvisor content api and use TripAdvisor id to get the additional content like images,reviews from external sources.

Yes, as stated in the Places (Search) API documentation, you only get the place/location IDs of external systems (TripAdvisor, etc) in responses. With the IDs, you can retrieve other details (such images, reviews, etc) from external system APIs (in this case the TripAdvisor API).
https://developer.here.com/documentation/places/topics_api/resource-search.html

Related

Send data from Object Localiser to Web Detection API on Google Cloud Vision

Sometimes the Web Detection API is not able to detect multiple objects in an image, hence I'm considering using Object Localiser. But Object Localiser essentially returns the bounding box co-ordinates (as shown in the documentation example). So how can I take the results from Object Localiser and send to Web Detection API so that I can get a list of individual web entities/products?
It's basically similar to the use case 'Vision Product Search' mentioned on the Cloud Vision landing page except would want to reference products indexed by Google instead of our own products.

Can the LinkedIn API return a list of a user's saved articles?

The LinkedIn docs for the articles API show that I can get a particular article's content etc. by doing a
GET https://api.linkedin.com/v2/originalArticles/{originalArticlesId}
But it's not clear to me where I get that originalArticlesId from. How do I list the articles that any given user has saved?
The LinkedIn API does not yet provide that functionality. The closest you can get to what you are looking for is to get the articles published by a particular author.
GET https://api.linkedin.com/v2/originalArticles?q=authors
I think that if you want to have this functionality you will have to do a scraping of the profile of the person who requires this functionality.

Cognitive Services - How can I access Bing search banner information (image and birth date)

Bing returns banner information including an image and birth date at the top of the search results when you enter a search such as 'Lady Gaga birth date'.
I would like to access this information using Microsoft Cognitive Services for an app using celebrity ages.
When I examine the httpResponseMessage return from the cognitive services call I can't find the image or birth date that appear on the top of the search results page in the body of the return.
Can you point me in the right direction to get this information from a cognitive services call. Similarly, I'd like to be able to access the summary information that appears on the top right of the search results. Any links to advanced documentation or samples on using the cognitive services Bing web search API would also be appreciated.
Thank you for you help.
Those blocks are all custom. It's less about cognitive services and more about tapping into data, translating and creating a presentation.
If you go to the Bing Web Search API site. There select "seattle seahawks" with Response Filter images. You can see that there is some text(name) and a contentUrl. You could write a parser for this to process into the pages.
Although the more logical choice would be actually calling the Bing website or Wikipedia directly. And parsing that result. As you already know it contains the information you want.

Google Maps JavaScript API v3 Places Library Usage Limits

I have a site that associates Google Place information with users, and displays that information on a map. For instance, a user can search for a place (currently with the Places Library Autocomplete API) and bookmark this place for later retrieval.
As per the Google Maps TOS, I am only storing the Place ID and its reference in my database and am making client-side requests for the coordinate information of each place whenever I need to display them on a map.
I've recently encountered an issue where making more than 10 consecutive API requests for coordinate information (within a javascript loop) using the getDetails method on the service object returns an OVER_QUERY_LIMIT status code.
My question is this: if I am correct in assuming that storing the latitude and longitude of each place in my database violates Google's TOS, how can I programmatically retrieve the coordinate information for a number of places so that I can display these places on a map for a given user?
According to the terms - 10.1.3(b) -
(b) No Pre-Fetching, Caching, or Storage of Content. You must not pre-fetch, cache, or store any Content, except that you may store: (i) limited amounts of Content for the purpose of improving the performance of your Maps API Implementation if you do so temporarily, securely, and in a manner that does not permit use of the Content outside of the Service; and (ii) any content identifier or key that the Maps APIs Documentation specifically permits you to store. For example, you must not use the Content to create an independent database of "places" or other local listings information.
So if there are places getting queried a lot, you can temporarily store information on that place to increase performance.

Shutterfly Order API .

I found this site
http://www.shutterfly.com/documentation/api_OrderImage.sfly
but there are no examples of actually walking through the whole process. Does anyone have any good documentation on using this API to take a local photo and allow someone to order a print via shutterfly?
I went through these steps:
Sign up for an account
Sign up as a developer
Create an application (I called mine Test). Note the generated Application Id and Shared Secret
The Shutterfly API page has a list of references for various Domain-specific APIs:
Address Book
Album Data
Folder Data
Go To Shutterfly UE
Image Upload
Interactive Sign-in
Image Request
Order
Pricing
Seamless Sign-in
User Data
User Authentication
Each uses RESTful principles. The documentation looks pretty comprehensive to me, if you need some background, here's links for RESTful APIs and ROME you may find useful
There is also an API Explorer section on the same page that allows you to test the methods via a form on their site. For example this form for CRUD operations on the album data.
Based on your comment, for your requirements, you would:
Use the Album GET to list albums, then get the data for a specific album.
Use the Image Get request to retrieve the image data, so your friend can verify the image(s) they want to purchase.
Authenticate the user
Use the Pricing POST request to get the estimated pricing for the image.
User the Order POST to submit the order over https
Update: Found a page describing using a Greasemonkey script which adds Shutterfly print ordering capability to Flickr. This might provide the basis for a solution.
For Reference:
The original link above is a middle step of the Shutterfly Open API ordering procedure.
The whole process goes through a series of steps allowing you to control much more than just pushing photos into somebody's album in Shutterfly.
With this process, your application can actually carry out the entire procedure of:
specifying the images and the sizes and quantities, or other products
calculating shipping, taxes, and totals
paying, and
launching the processing
It also includes the ability to see when the packages will be delivered and arrive.
Thus if you have a solid application for mapping your images onto paper and products, you can pretty much control the entire process.
Once the order is submitted, it will appear on the user's account at Shutterfly who the order was associated with.
Kudos to Shutterfly for making such a powerful tool! It would be great if other printing facilities had similar tools.

Resources