Skip to content

Examples

Will Davies edited this page Mar 1, 2017 · 7 revisions

As per a user's request, I'm adding several examples (let me know if you'd like more). I'll list a goal or objective, and then the code to satisfy that objective.

Objective: Pull a team with their FRC number and display some general information.
Code: http://pastebin.com/zpZ63vzc

Objective: Pull an event with teams and matches included, display general event info, the top 3 teams, and a random match and it's scoring information.
Code: http://pastebin.com/AGDUAkhE

Objective: Pull an event and display matches, scores, and alliance picks.
Code: http://pastebin.com/Akyu7tLT

Let me know if you'd like any more examples of ANY functionality!

Clone this wiki locally