https://github.com/emad-elsaid/askwiki
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.
https://github.com/emad-elsaid/askwiki
Last synced: 6 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/emad-elsaid/askwiki
- Owner: emad-elsaid
- Created: 2014-03-01T21:42:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-05T21:15:50.000Z (almost 10 years ago)
- Last Synced: 2025-03-30T21:41:28.207Z (7 months ago)
- Language: Ruby
- Size: 3.91 KB
- Stars: 23
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ask Wikipedia [](http://badge.fury.io/rb/askwiki)
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
```ruby
gem install askwiki
```## Usage
add it to your project using
```ruby
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
```bash
$ 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.