Project

bingo

0.0
No commit activity in last 3 years
No release in over 3 years
Bing Search API Client on Windows Azure Marketplace
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 0.8
 Project Readme

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