Sha256: 5ef8f1378e53c80638589fc55072ac8d3aedded206b693f0288adc811bea427e

Contents?: true

Size: 628 Bytes

Versions: 3

Compression:

Stored size: 628 Bytes

Contents

require_relative 'soccer/api'
require_relative 'soccer/group'
require_relative 'soccer/tournament'
require_relative 'soccer/standing'
require_relative 'soccer/team_group'
require_relative 'soccer/season'
require_relative 'soccer/match'
require_relative 'soccer/event'
require_relative 'soccer/lineup'
require_relative 'soccer/team'
require_relative 'soccer/player'
require_relative 'soccer/venue'
require_relative 'soccer/fact'

module Sportradar
  module Api
    module Soccer
      
      def self.parse_results(arr)
        arr.map { |hash| hash["sport_event"].merge(hash["sport_event_status"]) }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sportradar-api-0.13.2 lib/sportradar/api/soccer.rb
sportradar-api-0.13.1 lib/sportradar/api/soccer.rb
sportradar-api-0.13.0 lib/sportradar/api/soccer.rb