How can I access venue images in the Here API - here-api

The Here.com developer pricing says they include venue images in the demo pricing tier. I don't see any reference to any of those images in the "here" and "search" API endpoints.
Is there an additional parameter i need to pass besides the ones being passed here?
https://places.cit.api.here.com/places/v1/discover/search?
at=30.269446%2C-97.741067
q=chipotle
size=10
tf=plain
app_id=XXXXXXXXXXXX
app_code=XXXXXXXXXXXX

I think Venue Images refers to the Venue Maps image tiles (https://developer.here.com/rest-apis/documentation/venue-maps/topics/quick-start.html). So you can overlay venue maps on the map. If you also need to interact with venue maps, then you need Venue Models (the JSON part of the Venue Maps API).
It is not related to the Places API.

Related

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.

how to get street coordinate from google map api?

I am trying to make a web app based on google map api.I want to put image icon at different position of street in map.
how wiil i get these street coordinate from google map api?
Please give your useful suggestion.
Thanks.
Google have a service called Geocoding - you send a request including an address, a google.maps.latLng, or a Place_ID and it returns an array with all three of them. they explain all about this here.

Google Maps API and ASP.Net

I am new to Google Maps API and I have a requirement to integrate Google Maps API with an ASP.Net application. Is there a Google service where in I can input a UK postcode and radius as input parameters and get results only, without the map.
For example if I search for solicitors in a particular area like Z1 1XY (not real post code) with a radius of 5 mi, can I get the results of all solicitors with the postcodes 5 mile radius? Is there any service that would return the result set only? I know GeoCoding does something similar but can I provide radius as one of the input parameter and get results.
Any help would be appreciated. Thanks in advance.
Seaton
The Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions.
Source: https://developers.google.com/maps/documentation/geocoding/#Limits
yes, you can use the Google Geocoding API to do address lookups (in this case postcodes). The response contains lat/lon co-ordinates which you can then subsequently use as the epicenter of your search to find items within a radius. Have a look at this blog post on how to use the DbGeography in .NET to perform radius queries based on lat/lon co-ordinates.

Point current location on google map api and fetch details about it

Fetch user's current location's latitude and longitude and drop marker on it through google map api also display some information related to that location.
Google map provides a very good documentation about their API. As you want to use the marker on map you may consider using google's tutorial from their documentation:
https://developers.google.com/maps/documentation/javascript/markers
For displaying information you may get the idea from here:
https://developers.google.com/maps/documentation/javascript/infowindows

Ploting foursquare venues on google map

Has anyone got sample code/file which they could share as i am trying to plot foursquare venues on a Google map. For example: Given the Long and Lat of i.e. London. i would like to show restaurants within a 3 miles radius.
Is this possible without having to pass the client ID when using the API?
Your help would be greatly appreciated
Kamran
Do not have a direct sample you can copy paste, but it is not that complicated to do:
Foursquare wise: You must register as a consumer here, this gives you a Client ID + Secret.
You do not need to have your users go through the authentication to just display the venue information around a specific lat/lng, you can use the Venue Platform for that, specifically search for venues and (if required) get the venue details.
According to your specific example, show restaurants in a 3 mile (~5000 meters) radius, you will want to call search with intent=browse, radius=5000, ll={your search location}, limit=50 (the max) and categoryId=4d4b7105d754a06374d81259 (it is the food category, see here on how to get the category id listing)
So searching will produce a json array of foursquare locations, from there you can take what data you need and display it on google map via the maps api.
For Maps v3 you will probably want to drop a marker for each venue returned.
Also check out this answer for how to drop pins on google maps: Google Maps API - Drop a new pin

Resources