Skip to content

Instantly share code, notes, and snippets.

View soule's full-sized avatar

Souleiman Benhida soule

View GitHub Profile
#this is in {app root}/tbaconnect/loadteams.rb
require './api.rb'
require 'pp'
api = TBA_API.new("frc2876", "scouting", "v2")
@apiteams = api.get_event_teams('2016nhgrs')
@apiteams.each do |team|
newTeam = Team.new();