Past events still have status "scheduled" via the gem
Opened this issue · 3 comments
campgurus commented
I am using your gem to access xmlstats. Thanks for your work on it! However, I am running into an issue I want to document.
Specifically looking at an NBA game completed yesterday, event_status is still listed as "scheduled" instead of "completed" which is what gets correctly returned via a curl request to the api.
>> Xmlstats.events(Date.today-1.day, :nba).first.event_id
=> "20151027-cleveland-cavaliers-at-chicago-bulls"
>> Xmlstats.events(Date.today-1.day, :nba).first.event_status
=> "scheduled"
via cURL:
~$ curl --compressed -H "Authorization: Bearer [API_TOKEN]" "https://erikberg.com/events.json?date=20151027&sport=nba"
{"events_date":"2015-10-27T00:00:00-04:00"
,"event":[{"event_id":"20151027-cleveland-cavaliers-at-chicago-bulls",
"event_status":"completed",
... "away_points_scored":95,"home_points_scored":97}
alexmchale commented
Thanks for reporting this! I'll take a look.
campgurus commented
Cool. Thanks!
Brotakuu commented
Still experiencing this issue. Has it been resolved?