pinnacleapi/pinnacleapi-documentation

How to understand Special Odds

robschwartz opened this issue · 1 comments

I am trying to understand the special odds returned from odds/specials. How do I translate the special odds id to a player and statistic?

example: https://api.pinnacle.com/v1/odds/special?sportId=4&leagueIds=487&specialId=1166186437

{
    "sportId": 4,
    "last": 604404854,
    "leagues": [
        {
            "id": 487,
            "specials": [
                {
                    "id": 1166186437,
                    "maxBet": 500.0,
                    "contestantLines": [
                        {
                            "id": 1166186439,
                            "lineId": 604404853,
                            "price": -214.0,
                            "handicap": 1.5
                        },
                        {
                            "id": 1166186441,
                            "lineId": 604404854,
                            "price": 153.0,
                            "handicap": 1.5
                        }
                    ]
                }
            ]
        }
    ]
}```

Hi @robschwartz , /v1/fixtures/special returns contestant names, furthermore you can use event.id to link back to the /fixtures events.