Gamefaqs is a project mainly written in Ruby, it's free.
a ruby binding for accessing the GameFAQs database (game reviews, faqs, cheats)
== GameFAQs Library
Access information about all games (any platform) from GameFAQs.
You can search for games by title and platform, and then view for it.
== Installation
gem install Soleone-gamefaqs --source=http://gems.github.com
(Case sensitive!)
== Getting started
require 'gamefaqs'
== Find games and platforms
game = GameFaqs::Search.game("Castlevania Ecclesia", "DS")
snes = GameFaqs::Platform.find("snes") game = snes.find("super mario world")
== Examples for quick random quotes
include GameFaqs
game = Game.find("super mario land", "game boy")
Random.review(game).title
Random.review("super mario land", "game boy").title
Random.onereview(game)
Random.onereview(game, :detailed => true)
question = Random.question(game).title
== Top 10 Games
Get the most anticipated games for any platform at the moment.
List.top_games("xbox 360")
== Reviews
You can get score(s) for a game, and also read detailed articles. The reviews range from .
game.average_score
game.average_score(:detailed)
reviews = game.reviews
reviews = game.reviews(:quick)
review = reviews.first
review.score
review.text
review.title review.created_at review.author
== Questions (and Answers)
Users can post questions for any game (many different categories, e.g. technical or plot). Other users then write a solution for that problem. It's very Forum-like.
game.questions
question = game.questions.first
question.replies
question.status
question.answers
== Requirements
(will be installed automatically by RubyGems as a dependency)
== Issues
Speed! Because sometimes there have to be multiple webpages parsed at once.
For example to retrieve the names of all games for a platform, at least 26 pages need to be parsed (one for each letter of the alphabet).
== Contribute
If you're interested in this kind of stuff and want to help improve this library, feel free to fork this project and send me pull-requests/patches.