Wish list

13 views
Skip to first unread message

John Currey

unread,
May 10, 2022, 10:01:27 AM5/10/22
to SDQL API
Hi,

When deleting a game that does not exist, the API returns "Success". It would be useful if there was an indication that the request to delete the game failed.

For example, the Padres did not play a doubleheader on 5/1/2021. When I try to remove it, this is returned:
  • ret: 200 {"success": "20210501_Padres_2", "action": "remove"}
Thanks.

Joe Meyer

unread,
May 11, 2022, 3:52:59 PM5/11/22
to sdq...@googlegroups.com
API Friends,

The API has been updated as per John's suggestion:
An error message will now be returned when you try to remove a game that doesn't exist.

best regards,

Joe Meyer
Sports Database LLC

--

---
You received this message because you are subscribed to the Google Groups "SDQL API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sdqlapi+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sdqlapi/571e8e40-3d47-4af2-aaf3-094756f1e63cn%40googlegroups.com.

John Currey

unread,
May 12, 2022, 7:40:42 AM5/12/22
to SDQL API
Thanks, Joe!
Reply all
Reply to author
Forward
0 new messages