I've never used it before, but have you looked at the blue alliance's api?
http://www.thebluealliance.com/apidocs
Maybe some things you might want to look at are the event key in the team model, the matches key in the event model, and the match_number and alliances keys in the match model.
Also, look at the bottom for example GET Requests. Looks like the responses are given in JSON.