David McCourt
David McCourt
OK, found it. The issue is because with the specific query that I was running (trying to use `search` to find a cust ID from a name), `response.json()['d']` was an...
`DriverStats` seems to return nothing if I try to use the `search` parameter. I'm having better luck with `GetDriverStatus`'s `searchTerms` parameter. For instance the response from `https://members.iracing.com/membersite/member/GetDriverStatus?searchTerms=David+McCourt` is: ```json {"blacklisted":false,"search":1,"studied":false,"fsRacers":[],"friends":false,"searchRacers":[{"broadcast":{},"hidden":true,"helmet":{"c3":"000000","ll":20,"hp":40,"ht":0,"c1":"000000","ft":0,"c2":"802020"},"custid":498405,"name":"David+McCourt","trustedAsSpotter":false}]}...
Thanks @XanderRiga. Does it seem appropriate to add functionality to get_driver_status to allow finding cust_id that way?
@arirusso Thanks for the quick response! Understood, I'll look in that direction.