Parser for PSN Trophies site (http://us.playstation.com/psn/trophies)
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
psn_trophies.gemspec

README.md

PsnTrophies

A Ruby API for http://us.playstation.com/psn/trophies Simply parses html from PSN Public Trophies.

Installation

gem install psn_trophies

Usage

require "rubygems"
require "psn_trophies"

client = PsnTrophies::Client.new
played_games = client.trophies("valid_psn_id")  # ex. LeiteBR
played_games.map(&:title)  #=> ["Dragon Age II", "GTA IV", ... etc.]

client.trophies("invalid_psn_id")  # => raises PsnTrophies::NoUserProfileError