How to use google place api in iphone to query supermarkets around my place - iphone

I am new in Google places API and don't know how to use in our application...Can any one explain me how to get the list of Supermarkets around my places..
Currently I am using this link but not able to get that things which I want.
Please help me to solve the problem...

The URL should be:
https://maps.googleapis.com/maps/api/place/search/json?location=lat,long&radius=500&types=grocery_or_supermarket&sensor=false&key=yourkey

Related

Swift Read HTML elements on webpage

I am trying to read a specific text on a website, and I was wondering how I would proceed doing so. I am trying to get the followers-count on the instagram website, to then retrieve it in my app and display it. How would I proceed with this?
I have searched both Google and GitHub for parser, with no luck - and there is no tutorial on YouTube explaining how to do this.
Thanks in advance.
Usually for something like this, you'll want to use the official API.
Isolating and reading an element in web page is likely not what you want to do. An API gives you access to parts of a service an application might need to interact with, just like this.

Panoramio api for searching by tag

I am in developing web application to allow user search Panoramio images using a tag. Would be appreciate if someone has done previously and share how you do that to me.
You'll find all the information you need to know here:
https://developers.google.com/maps/documentation/javascript/examples/layer-panoramio-tags
Its easy to implement, give it a go. As long as you've set up the Panoramio service correctly, it should only take a line or two of code.

Bing Image Search API autocorrect feature...?

I am trying to use BING's image search api, but the problem is when I miss-spell something it automatically corrects the and doesn't tell me that "Hey we have auto-corrected your query!" , I want to know if my query has been auto corrected and what's the replacement word they have used.. Has anyone done this before...?
This is the query I am using.. note "Aemrica" has been mis-spelled deliberately but it still it gives me results for "America"
https://api.datamarket.azure.com/Data.ashx/Bing/Search/v1/Image?Query=%27Aemrica%27&$top=50&$format=JSON
but does not tell anything that the word has been replaced. Is there any way around it..?
i am using the response for iPhone.
No there is no way around this. Even the SearchResponse.Query.SearchTerms response parameter appears to still be the incorrectly spelt version.
I would suggest contacting Microsoft if this is a big issue for you.
EDIT: If you upgrade to the new Bing Search API based on the Azure marketplace, you can now get this data by first making a call to the SpellingSuggestions endpoint.

Is it possible to pass data needed for driving directions to the Bing Maps website?

I have an application that currently links to Google Maps passing it the required URL parameters needed to show driving directions for a set of points (typically 3+). This approach has worked and has allowed us to not use their API, which worked fine.
With Google, they made it pretty easy and clear by using parameters like "saddr" for the starting address, "to" for way points, and "daddr" for the destination. I could even pass in "pw" if I wanted to put the map into print mode. Simple, easy, works great!
I'm trying to determine if Bing Maps supports the same thing. I have been unable thus far to find any examples showing how this can be done, nor have I been able to easily decode the URL after creating my own driving directions using Bing Maps.
Again, I'd like to avoid using the API and am find with sending users to Bing's site when clicking my link.
It this possible? If yes, how can it be done?
Yes it is possible.
And I just wrote a little blog post to demonstrate how: http://alastaira.wordpress.com/2012/06/19/url-parameters-for-the-bing-maps-website/
Alastair's answer has full details if you follow the link through to the blog post.
But if you want the quick answer (again, thanks Alastair) use this root:
http://www.bing.com/maps/default.aspx?where1=
and stick your search destination in at the end. Eg. this gets you to Atwood Rd in London using its postcode:
http://www.bing.com/maps/default.aspx?where1=W6%200HX

Is there any way I can display Google/Yahoo/Bing search results in a UITableView?

I'm trying to create an app which will need to search the web by using Google/Yahoo/Bing or any other reputable search engine. I really need these search results looking look though, so my first thought was to put them in a UITableView. How can I do this? Would I need to grab a specific API? Are there any search engines out there which provide these sort of APIs?
I've looked into this extensively, but haven't managed to find anything similar.
I'd appreciate some help with this! Thanks.
You can use Google Custom Search API.
Check out here
The API is RESTful and the response can be JSON or Atom format. You should be able to use JSON and convert to NSDictionary/NSArray, then display in the table view.