News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Cal Evans' Blog:
Bing Search API wrapper for PHP
June 02, 2010 @ 10:53:58

In conjunction with some of the folks over at Microsoft Cal Evans has created a search wrapper around the Bing search engine's API to make interacting with it from your PHP applications simpler.

Back in March I had the opportunity to work on a project for Microsoft that is now coming to light. I was tasked with writing a PHP wrapper for the Bing API that Microsoft has been building. I've written API wrappers before and it is either a fun experience or it is a nightmare, depending on whether the API is easy to work with. I am pleased to report that the Bing Search API is well thought out and very easy to work with. For PHP developers, I am hoping that what I am about to show you makes it even easier.

You'll need an API key to use the interface, but the rest is simple. You just create an instance of the search object, pass it a query and sun the "search" method to return the results. Cal has an example snippet of code in his blog.

0 comments voice your opinion now!
bing search wrapper api apikey


blog comments powered by Disqus

Similar Posts

Derick Rethans' Blog: Translating Twitter, part 2

PHPMaster.com: REST - Can You do More than Spell It? Part 4

SitePoint PHP Blog: How to Implement User Log-in with PayPal

SitePoint PHP Blog: PINQ Querify Your Datasets Faceted Search

Cyberlot\'s Blog: Searching Zend Frameworks mailing list


Community Events

Don't see your event here?
Let us know!


example framework interview api release podcast voicesoftheelephpant introduction community library list series opinion extension laravel5 security php7 laravel version language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework