Skip to content

tomoya55/bingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bingo

Circle CI

Simple Bing Search API Client for Ruby.

Bingo

Was his name by Jay Cox

Installation

Add this line to your application's Gemfile:

gem 'bingo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bingo

Usage

$ Bingo.search('your_account_key', 'ruby')
#=>
[
  {
    "__metadata": {
      "uri": "https://api.datamarket.azure.com/Data.ashx/Bing/SearchWeb/v1/Web?Query='ruby'&$skip=0&$top=1",
      "type": "WebResult"
    },
    "ID": "4e17655c-00e0-4ef1-8337-609f11530507",
    "Title": "Ruby - Wikipedia, la enciclopedia libre",
    "Description": "Ruby es un lenguaje de programación interpretado , reflexivo y orientado a objetos , creado por el programador japonés Yukihiro \"Matz\" Matsumoto , quien comenzó a ...",
    "DisplayUrl": "es.wikipedia.org/wiki/Ruby",
    "Url": "http://es.wikipedia.org/wiki/Ruby"
  },
  ...
]

Current Development status

API

Currently Bing Search API – Web Results Only is supported, but is planned to support Bing Search API as well.

Response format

Only JSON is available. ATOM(XML) is planned to be supported before v1.0.0.

Getting Account Key on Microsoft Windows Azure Marketplace

(TBD)

Development

Setup

git clone https://github.com/tomoya55/bingo.git
cd bingo
bundle

Run test

bundle exec rake test

Contributing

  1. Fork it ( https://github.com/[my-github-username]/bingo/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Bing Search API client for Ruby

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages