Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 4, 2013, 02:29 PM   #1
ArtOfWarfare
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Use Google Search without presenting Google.com?

I'd like to have a page in my app that allows the user to type in a box and have Google Search results appear... kind of like the inquisitor plugin for Safari. I'm looking at the Custom Web Search APIs but they don't seem quite right... they're laden with features I don't need and it seems to cost an awful lot (half a cent per search... meaning if I charge $1 for the app I'm losing money after 140 searches.)

So does anyone know how to utilize a Google Search without ever actually loading the Google webpage (and, ideally, for free.)
__________________
Battery Status - On the Mac App Store
The only app that'll estimate when your wireless devices will need their batteries changed.
Including the ones paired with other Macs on your network.
ArtOfWarfare is offline   0 Reply With Quote
Old Feb 4, 2013, 04:46 PM   #2
KarlJay
macrumors 6502a
 
Join Date: May 2010
Location: California
Does google have an option to have the output to a file or string? Maybe even not showing the screen, run the search, dump the results to a string, parse the string...

Aren't the google search results in an XML format?

What about all the sites that offer google searches only of their site, don't they use some kind of subset of google search?

When you say custom web search api, are you talking about google or some other company?
KarlJay is offline   0 Reply With Quote
Old Feb 4, 2013, 06:05 PM   #3
ArtOfWarfare
Thread Starter
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by KarlJay View Post
What about all the sites that offer google searches only of their site, don't they use some kind of subset of google search?

When you say custom web search api, are you talking about google or some other company?
Those custom website specific google search fields are what the Custom Web Search API generates. The API is from Google.

I'm wondering if Google offers some other API that would allow me to pass in a search string and get back the first five or so results without me having to take the user to Google.com in a UIWebView (and ideally without paying for it... I'd be willing to consider a price that was closer to 10K searches per dollar.)
ArtOfWarfare is offline   0 Reply With Quote
Old Feb 4, 2013, 08:06 PM   #4
kage207
macrumors 6502a
 
Join Date: Jul 2008
Quote:
Originally Posted by ArtOfWarfare View Post
Those custom website specific google search fields are what the Custom Web Search API generates. The API is from Google.

I'm wondering if Google offers some other API that would allow me to pass in a search string and get back the first five or so results without me having to take the user to Google.com in a UIWebView (and ideally without paying for it... I'd be willing to consider a price that was closer to 10K searches per dollar.)
Bing is free. Or so says this site.
http://stackoverflow.com/questions/5...gle-search-api

I don't believe it though.
https://datamarket.azure.com/dataset...7-A49D98D29A44
Rather cheap per query.
__________________
MBA 13", i5 1.8GHz, 8GM RAM, 128GB SSD
These are amazing products that enrich our lives that we see as toys, remember that they are expensive and should be used as tools to reach our dreams~

Last edited by kage207; Feb 4, 2013 at 08:13 PM.
kage207 is offline   0 Reply With Quote
Old Feb 4, 2013, 08:34 PM   #5
ArtOfWarfare
Thread Starter
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by kage207 View Post
Bing is free. Or so says this site.
http://stackoverflow.com/questions/5...gle-search-api

I don't believe it though.
https://datamarket.azure.com/dataset...7-A49D98D29A44
Rather cheap per query.
Here's the pricing I've found so far:

Google: 200 searches for $1
Bing: 500 searches for $1
Yahoo: 1250 for $1
FAROO: Free

I'm trying the FAROO website right now... I think I can power the web search in my app with this... maybe I'll have replacing FAROO with Google be an IAP? Except Google is so prohibitively expensive... eh, it looks like FAROO should theoretically improve if more people use it, so if my app ends up being popular then it'll get search results par with Google, right?

Edit: Interesting... FAROO sure litters your history... it looks like with each character you type it automatically inserts another page in your history...
__________________
Battery Status - On the Mac App Store
The only app that'll estimate when your wireless devices will need their batteries changed.
Including the ones paired with other Macs on your network.

Last edited by ArtOfWarfare; Feb 4, 2013 at 08:40 PM.
ArtOfWarfare is offline   0 Reply With Quote
Old Feb 4, 2013, 10:29 PM   #6
KarlJay
macrumors 6502a
 
Join Date: May 2010
Location: California
I think the main reason they charge is because they track you and sell the info to advertisers. Bing gets much the same results for less than 1/2 the price. I'm kinda surprised that Bing would charge at all. Bing gave me $100 for using the Bing Cash Back program a few years ago. They were paying you to use Bing for online shopping.

Google can charge because they have the market nearly locked up, Bing should use this as a way into that market, but at the same time, you are using their search engine and should have to pay something or show ads or something.
KarlJay is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:55 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC