What is the best way to get an image URL from a certain query? - vb.net

I have a book recommendation project for school, and I want to add a picture for each book. I was thinking I could use a search engine API to return the first result, but I'm having trouble with them:
The Google .NET Api seems to be unsupported
The Bing API
The Flickr Api is well documented and it actually works, but the images on there aren't what I'm looking for

Have you tried http://jpg.to ?
[searchterm].jpg.to
i.e.
http://programmingfordummies.jpg.to/
http://clockworkorange.jpg.to/
http://fantasticmrfox.jpg.to/

Related

Knowledge graph API returning different results than site

When I Google for something and click on a heading from the Knowledge Graph, Google displays a list of the results just below the search bar:
Screenshot here
I typed in the same thing in my Knowledge Graph API:
https://kgsearch.googleapis.com/v1/entities:search?query=apple%20products&key=[MY_KEY]&indent=True&limit=100
and the results are not the same. Short of scraping, is there a way of obtaining the exact list shown within the results via a Google API? It doesn't seem to be Knowledge Graph, or at least the queries are not the same.
Short of scraping, is there a way of obtaining the exact list shown
within the results via a Google API? It doesn't seem to be Knowledge
Graph
Apparently not, you are using the correct API but unfortunately that is how the API works—it usually gives you a different result than if you do a simple Google search.
Why this is the case—I don't know. I decided scrape google instead.
The Knowledge Graph API doesn't have access to the same data sources as a simple Google search. You can read about here if interested (https://web.archive.org/web/20130329151128/http://zecblog.com/2012/09/16/the-short-life-of-the-open-knowledge-graph/).
But yes in short, you'll have to do your own scraping if you want the same information, although it's difficult because Google purposely obfuscates the HTML tags.

find another API instead of google map API

I'm developing an application which use map. I'm trying to avoide google API (because their request time are limited).
I want something complete free but can provide feature like geocoding, reserve-geo, find nearest place ...
Any suggestion ?
Have you looked at geonames? They are using googlemaps as well as openstreetmap for the forward and reverse searches. I know openstreetmap can handle everything that you are asking for.

Database Postcode Records, Google Maps?

Currently I have a website and database solution, however I would like to take 'Postcodes' from the records and place corresponding markers for them on a Google maps view.
Is this possible? And where would I start? Thanks
You can use the Google Maps Javascript API to place a map on your webpage. There is a good code example section. Markers should be easy to find.
The process of translating a postcode to a map location is called geocoding. There are code samples here too. The geocoding API has a usage limit and it takes time to do its work. SO if you have many postcodes, you might want to cache geocoding results.
There are many, many ways to get postcodes from a database to JavaScript. If you have an issue there, you'd better ask a more specific question, including the platform and language tag.

Replacement for Google AJAX search for Local

Since Google has deprecated their old web search API as of recently, what are people using to do customized local search? (i.e. search for "donut shop" near this latitude and longitude) Sticking with the deprecated API? Using another Google API? Another provider entirely?
Their suggestion to use their new Custom Search API doesn't seem useful for local. Maybe i'm missing something under my nose?
Google Places API is in developer preview.
I personally used Yahoo! Local Search
The Yelp API is pretty slick as well -- it'll give you local search capabilities and you can also get ratings information.
I've found this Quora link quite useful:
http://www.quora.com/What-is-the-best-alternative-to-Googles-local-search-API

Build a search-based-app using an API from a major search engine: google, bing, yahoo - who offers search API?

I need to provide search functionality as the cornerstone of my app (basically I think I can make a better interface than whats is offered by Google, bing, yahoo - bold claim I know). Therefore I will not build an entire search engine from scratch, I will rather use an API provider by a major search engine and simply modify the interface that present the results to my visitors. I am a Google fanboi and I initially tried to use Google Search AJAX API. However, I was very disappointed since I can barely change anything at all.
Specifically;
I need an API that will let me pull programmatically the results from a major search engine and let me output them with the style and goodies that I want.
I am not looking to alter the order in which the search results are presented to the user by inserting crap in between the good results (this is against my philosophy). But I would like to wrap massive php/javascript around each search results so that I can completely control how each result is graphically rendered.
I heard of the BING API 2.0, would that be more flexible than Google AJAX API? Could anyone provide output if any of the current search providers are offering API for this purpose right now?
After careful investigation it appears to me that the Bing 2.0 API is the most flexible and robust search API currently on the market.
The Bing API does require you to put their ads next to the results. You can place your own ads with the Yahoo API. The Yahoo API uses the same search technology (same results) and can be used starting from $0,40 per 1000 queries. The lowest, bulk price of the Google API is $4,00 per 1000 queries. Google's relevance is easily ten times higher for the somewhat more advanced queries.
And also Bing version 2 search API is free!
Whereas, Yahoo BOSS V2 has pricing and so Google does custom search API.