[TC] Gaming Forums
[TC] Gaming API : General Discussion - Printable Version

+- [TC] Gaming Forums (https://forum.city-driving.co.uk)
+-- Forum: General Information (/forumdisplay.php?fid=1)
+--- Forum: General Discussions (/forumdisplay.php?fid=4)
+---- Forum: Developer Forum (/forumdisplay.php?fid=221)
+---- Thread: [TC] Gaming API : General Discussion (/showthread.php?tid=27254)

Pages: 1 2


RE: [TC] Gaming API : General Discussion - Kyle - 2020-01-06 22:10

(2020-01-06 21:28)Sadie Wrote:  
(2020-01-06 19:38)kxait Wrote:  
(2018-12-30 23:46)Pete Wrote:  snip
Quoted for attention
I've a problem with the API. I was very frustrated to find that the API only returns total money for given user, not cash and balance separately. Either change it back, or change the API docs which led me on: https://apidocs.tc-gaming.co.uk/apis/citydriving-statistics-api/user-profile-api#get-a-user-profile

This is purposely done after !steal was implemented to avoid people creating programs that automatically notifies about AFK players with larger amounts of cash on them.

Sadie's correct.

P.S. I've submitted a pull request which removes the total balance and cash, so now it will only show money in the example.


RE: [TC] Gaming API : General Discussion - Pete - 2020-01-07 23:54

Thanks to Kyle's PR, it's fixed.