LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2010, 03:57 PM   #1
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Rep: Reputation: 50
Google Search Image API / WebService


Hi everyone, I'm looking for a API or a WebService from google to search images. I'm making a library in C++ for searching and downloading images, I have code to download images using libCurl.
I'm hoping that some one so big like Google have WebServices like that or some library.

I use Slackware64 13.1, don't think its relevant, but in any case...
 
Old 08-08-2010, 12:09 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. Yes, Google does have exactly such an API.
Just Google for "google image search api" and you'll come up with lots of "bingo's".

2. Unfortunately, C++ is generally not the best language for "doing web services". I hate to say it, but Microsoft .Net languages like C# or VB.Net are probably better (and certainly a lot easier!). Java probably comes in next. But C++ - I think you're in for a lot more work than you might be expecting.

C++ is also not the best language for using "Google APIs".

Java is #1 (for server side), and Javascript is #1 (for client side).

Anyway, please do the Google search, look over the Google documentation and sample code (there's TONS of GREAT material available!) ... and decide what's best for you.

Good luck .. PSM
 
Old 08-08-2010, 06:19 AM   #3
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
The language is no big problem, libCurl for C and C++ supports SOAP, witch means that if Google have a WebService it should work out of the box.
But I can find a WebService in Google, a lot of API's for AJAX, etc... But a simple WebService isn't around.
 
Old 08-16-2010, 06:04 PM   #4
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
So I manage to have a googleSearchImage() written in good old C++.
It uses libCURL and regex.h(it's POSIX, so every linux should have it already).

It's not a finish job, but if anyone is curious about the code, or need a function like this I can provide the source code.
 
Old 08-05-2013, 10:20 AM   #5
Auberotte
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
Hi mlpa,
i would be very interested in your code since this is exactly what i want to do, a google lookup for images and than storing those to the local drive.
I already wrote you an email, that i am very interested in how you solved this, which you didn't answer yet.
Would be very happy if you could provide any insight.
 
Old 08-05-2013, 03:01 PM   #6
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 542

Original Poster
Rep: Reputation: 50
Answered in a PM

Quote:
Originally Posted by Auberotte View Post
Hi mlpa,
i would be very interested in your code since this is exactly what i want to do, a google lookup for images and than storing those to the local drive.
I already wrote you an email, that i am very interested in how you solved this, which you didn't answer yet.
Would be very happy if you could provide any insight.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Just wondering how Google Image Search Engines do it? beckettisdogg Linux - Newbie 2 08-10-2009 06:56 AM
LXer: Google API translation fix for Chinese mapping LXer Syndicated Linux News 0 12-29-2008 11:30 AM
Apple Spotlight, MS Desktop Search and Google Desktop Search. What do you think? Mega Man X General 16 07-10-2007 12:50 PM
LXer: Google Talk API and source code release LXer Syndicated Linux News 0 01-12-2006 03:31 PM
using google to search LQ dr_zayus69 Linux - General 1 03-23-2005 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration