Wednesday, June 10, 2009

PS your Bing (or is it Bing your PS?) – PoshBing brings Bing and PowerShell together

CodePlexPoshBing

PoshBing

PoshBing is a PowerShell library for accessing the Bing API programming interfaces.
Commands are exposed to access the following SourceTypes

…”

Joe Pruitt - Introducing PoshBing – The PowerShell library for Microsoft’s Bing Search Engine

“…

What interested me about Bing is that Microsoft has released a full API to allow you to use their services in your applications.  The Bing API is documented at Microsoft’s developer site and I thought to myself how I could test it out.  The obvious answer was PowerShell of course.  My previous PoshTweet Twitter Library has been fairly popular so I figured I’d give a “library” type project another go around and tackle the Bing APIs.

The Bing API has the concept of “SourceTypes” which are essentially data sources that you can search into.  My script library provides access to the Image, InstantAnswer, News, MobileWeb, Phonebook, RelatedSearch, Spell, Web, Translation, and Video SourceTypes with the following functions:

  • Get-BingImage – Search the Image SourceType for a list of images including properties about the media files.
  • Get-BingInstantAnswer – Get single, authoritative answers to questions.
  • Get-BingNews – Provide news specific to a topic, a location, or breaking news.
  • Get-BingMobileWeb – Returns mobile web results, primarily relevant XHTML or WML pages.
  • Get-BingPhonebook – Enables you to view details about a business for which you are searching as if they were a phonebook entry.
  • Get-BingRelatedSearch – View searches that provide information in which you might be interested, based on your current search.
  • Get-BingSpell – Query alternative spellings for a given word or phrase.
  • Get-BingWeb – Get pages relevant to the queried terms.
  • Get-BingTranslation – Translate a term from one language to another.
  • Get-BingVideo – return a list of videos and their properties relevant to the query terms.

…”

SSIS Junkie - Powershell over Bing = geek coolness

“…

Today I stumbled upon Joe Pruitt’s PoshBing – a Powershell library for Microsoft’s new Bing search engine. Its a wrapper around the Bing API and enables you to call the Bing search engine and consume the results inside the Powershell pipeline. A picture speaks a thousand words so here are some example of what you can do with it:

 image 

binging via PowerShell, that’s just too cool…

(via The Road to Know Where - Microsoft's CodePlex Releases "PoshBing" PowerShell Library for Microsoft’s Bing Search Engine)

1 comment:

Anonymous said...

Thanks for spreading the news on PoshBing. You can also check out my @Askbing project that's a PowerShell Twitter Bing proxy - http://twitter.com/askbing

-Joe