Get exclusive CAP network offers from top brands

View CAP Offers

Reply To: Looking for programs with XML feed

[bsa_pro_ad_space id=2]
#793752
Anonymous
Inactive

more information helping you to use our odds;

Quote:
The Sportsbetting.com data for all odds can be obtained via the following link:

http://oddsfeed.gamingsys.net/lines/all-liveodds.xml

The odds data is updated every 4 seconds.

1. Description of the XML File all-liveodds.xml

: ROOT

Header



: SPORT TYPE
: The sport type ID.
Sport Type description
Odd Type: Most types are Standard, Proposition or Future types.

For example:


200
NBA Basketball
Standard

In some cases the type is a description of the actual sport. In this case, the data is represented in the same way as a Standard Sport type.

For example:

182
England Premier
Soccer

Each sport type could be empty, that is, described as [ a number ]. For example 1092.

Events and Futures



Depending on the type described in the tag, each can have a list of events (1 or more) enclosed within the tag or a list of future odds (1 or more) enclosed within the tags.

The described as “Future” is special and in this case the Header is also compossed of the following:

Following the header there is a list of futures, enclosed within the tags, with the following format:

: One of the future options (i.e. team)
: The odds (i.e. 10-1)

All other types, Standard, Proposition and the ones that have a description of the actual sport within the tag, contain 1 or more events.
Each event consists of the following:

: Current time – PST
: Open or Closed
: Date event closes

The following could be undefined, set to OFF or simply not provided:

Home Point spread (e.g -1.5) Away Point spread (e.g. 150) Home Point spread Money (e.g. 1.5) Away Point spread Money (e.g. 190)
Home Over/Under (e.g U 8.5)
Home Over/Under Money (e.g. -115)
Away Over/Under (e.g. O 8.5)
Away Over/Under Money (e.g. -105)
Tie Money Line (e.g. 3.25, common in soccer events)

2. How to display Odds Data

Displaying odds data is totally up to the implementor as data is stated in an XML format.

The data can be either parsed and transformed using Server-side scripting such as php, jsp, asp, asp.NET or on the client using javascript.

This is for SPORTSBETTING.COM and RaceBook.com