Ask Wikipedia is a ruby gem for querying wikipedia in any language from within your ruby or rails application, and also could be used from commandline directly.
Ruby
Switch branches/tags
Nothing to show
Latest commit 7ac7c21 Jan 5, 2016 Emad Elsaid Emad Elsaid Merge pull request #1 from khaledmohammedfares/master
Solving "Open uri redirect forbidden" for http request
Permalink
Failed to load latest commit information.
bin
lib
.gitignore initial working version Mar 1, 2014
README.md
askwiki.gemspec

README.md

Ask Wikipedia Gem Version

Ask Wikipedia is a ruby gem for querying wikipedia in any language from within your ruby or rails application, and also could be used from commandline directly.

Installation

you can install latest version using

gem install askwiki

Usage

add it to your project using

require 'askwiki'
# instantiate a new object and ask it
obj = Askwiki.new('en') # padd wikipedia language as param or leave it for english
print obj.ask('API') # to ask wikipedia for an article

# or use the class method
print Askwiki.ask('API')

also you can use it from commandline/terminal as follows

$ askwiki API

Questions and Problems ?

open a new issue to let me know and i will response as soon as possible

How to Help

we appreciate Star/Fork/Watch on github so show love, and if you wanna help more then fork, then add a feature or enhance it, and send me a pull request, i will review and merge your commit.