JulienSansot / pinnacle-sports

PinnacleSports API client for node
13 stars 2 forks source link

No API call for odds/parlay #1

Closed peterkingsbury closed 9 years ago

peterkingsbury commented 9 years ago

According to the doc, there are 2 types of odds requests, to /odds/ and to /odds/parlay/ (both use the same parameters). However pinnacle-sports NPM module only supplies /odds/ API call.

Adding the following to operations would solve this shortcoming:

{
    name: 'get_odds_parlay',
    endpoint: 'odds/parlay'
},
JulienSansot commented 9 years ago

I added it. It's called get_parlay_odds . To be consistent with place_parlay_bet and get_parlay_line. Thanks for filling this issue. I forgot about parlay odds.