Sha256: a7d81bf68ff593c784adb5d8f0964401e1f7994be057a0e94f9b0f97f5af2a66

Contents?: true

Size: 662 Bytes

Versions: 29

Compression:

Stored size: 662 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'
require_relative 'soccer/scoring'

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

29 entries across 29 versions & 1 rubygems

Version Path
sportradar-api-0.13.11 lib/sportradar/api/soccer.rb
sportradar-api-0.13.10 lib/sportradar/api/soccer.rb
sportradar-api-0.13.9 lib/sportradar/api/soccer.rb
sportradar-api-0.13.8 lib/sportradar/api/soccer.rb
sportradar-api-0.13.7 lib/sportradar/api/soccer.rb
sportradar-api-0.13.6 lib/sportradar/api/soccer.rb
sportradar-api-0.13.5 lib/sportradar/api/soccer.rb
sportradar-api-0.13.4 lib/sportradar/api/soccer.rb
sportradar-api-0.13.3 lib/sportradar/api/soccer.rb