Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
1234567891011class SpeedRunsLive def self.game(name) (HTTParty.get(URI.parse('http://api.speedrunslive.com/games').tap do |uri| uri.query = {search: name}.to_param end) || {'games' => []} )['games'].select { |game| game['name'] == name }[0] rescue Errno::ETIMEDOUT nil endend