speedmax (owner)

Revisions

gist: 197768 Download_button fork
public
Public Clone URL: git://gist.github.com/197768.git
Embed All Files: show embed
new event format #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
    Sports Event
    {
     id:
     account_id:
     channel_id:
     sport: 'Football Matches'
     competition: 'UEFA U21 Championship Matches'
 
     title: 'The Ashes 2009'
     url: 'http://some bookie.com'
     venue:
     start_time: datetime
     updated_at:
 
     # Selection
     outcomes: {
       { type: 'winner', name: 'English', price: '3.60' },
       { type: 'winner', name: 'australia', price: '1.71' },
       { type: 'winner', name: 'draw', 'price' : '2.05'}
       { type: 'result', name: 'England 5 - 0', price: '100.1' }
     }
    }