This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<mapping> | |
<Event id="536872771" event_id="54" type_id="1" period_id="1" min="3" sec="15" player_id="18892" team_id="1" outcome="0" x="40.2" y="90.4" timestamp="2013-09-14T12:48:30.183" last_modified="2013-09-14T12:48:30"> | |
<Q id="1838811908" qualifier_id="212" value="4.5" /> | |
<Q id="1209267852" qualifier_id="168" /> | |
<Q id="1258405501" qualifier_id="213" value="6.2" /> | |
<Q id="216196044" qualifier_id="140" value="44.5" /> | |
<Q id="356153659" qualifier_id="141" value="89.6" /> | |
<Q id="1623402172" qualifier_id="56" value="Back" /> | |
<Q id="697405933" qualifier_id="3" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class: SportsTeam | |
property: statistics [expectedType: SportsStatistic] | |
class: SportsStatistic | |
subClass: LeaguePosition | |
subClass: SubScore | |
subClass: Score | |
subClass: ScoreAttempts | |
subClass: Possession | |
subClass: Points |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class: SportsTeam | |
property: statistics [expectedType: SportsStatistics] | |
class: SportsResult | |
property: statistics [expectedType: SportsStatistics] | |
class: SportsStatistics | |
property: leaguePosition [expectedType: Integer] | |
property: subScore [expectedType: Integer] | |
property: score [expectedType: Integer] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
http://www.bbc.co.uk/sport/football/results | |
--> | |
<table class="table-stats"> | |
<caption>This table charts the fixtures during Wednesday 20th November 2013</caption> | |
<thead> | |
<tr> | |
<th colspan="1" class="competition-title button-container"> | |
<button title="Close all">Close</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class: Person | |
property: statistics [expectedType: SportsStatistics] | |
class: SportsTeam | |
property: statistics [expectedType: SportsStatistics] | |
class: SportsResult | |
property: statistics [expectedType: SportsStatistics] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class: Person | |
property: statistics [expectedType: SportsStatistics] | |
class: SportsTeam | |
property: statistics [expectedType: SportsStatistics] | |
class: SportsResult | |
property: statistics [expectedType: SportsStatistics] | |
Class: SportsStatistics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class: Person | |
property: statistics [expectedType: SportsStatistics] | |
class: SportsTeam | |
property: statistics [expectedType: SportsStatistics] | |
class: SportsResult | |
property: statistics [expectedType: SportsStatistics] | |
Class: SportsStatistics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var curl = require('curlrequest'); | |
var curlOptions = { | |
"cert": "../tom-grahame-2013-14.pem", | |
"cacert": "/usr/local/etc/stunnel/ca.pem", | |
encoding: "utf8" | |
}; | |
var xpath = require('xpath'); | |
var dom = require('xmldom').DOMParser; | |
curlOptions.url = 'https://api.test.bbc.co.uk/sportsdata/api/sport/soccer/tournament/premier-league/team/southampton/statistics/2012'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var curl = require('curlrequest'); | |
var curlOptions = { | |
"cert": "../tom-grahame-2013-14.pem", | |
"cacert": "/usr/local/etc/stunnel/ca.pem", | |
headers : {'Accept': 'application/json-ld'}, | |
encoding: "utf8" | |
}; | |
curlOptions.url = 'https://api.test.bbc.co.uk/ldp-sport/football/competitions/premier-league/teams'; | |
curl.request(curlOptions, function (err, stdout, meta) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<sports-event xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation="actions.xsd"> | |
<play id="id16" created="2014-01-26T00:00:00.000" sequence-number="23" type="cricket:ball"> | |
<action id="id1" created="2014-01-26T00:00:00.000" sequence-number="1" type="cricket:bowl" delivery="cross-seam"> | |
<participant idref="P123" role="cricket:bowler"/> | |
</action> | |
<action id="id2" created="2014-01-26T00:00:00.000" sequence-number="2" type="cricket:bat" stroke="cover-drive"> | |
<participant idref="P456" role="cricket:batter"/> | |
</action> |
OlderNewer