JSON/XML api responses

Add your suggestions for improving Poker Mavens

JSON/XML api responses

Postby torba » Sat Jun 29, 2013 9:39 pm

The current text response is horrific, why go through having to parse that plaintext response when most languages can interpret json/xml easily into an array?
torba
 
Posts: 3
Joined: Sat Jun 29, 2013 9:22 pm

Re: JSON/XML api responses

Postby Kent Briggs » Sat Jun 29, 2013 9:47 pm

torba wrote:The current text response is horrific, why go through having to parse that plaintext response when most languages can interpret json/xml easily into an array?


I agree the current API protocol was a poor choice. XML would be even worse with all the duplicate open and close tags. JSON is the way to go. Version 4 will use JSON for the server to client protocol. It probably won't be until version 5 before I revamp the server and make the API in JSON format also.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3805
Joined: Wed Mar 19, 2008 8:47 pm

Re: JSON/XML api responses

Postby torba » Sat Jun 29, 2013 9:48 pm

Kent Briggs wrote:
torba wrote:The current text response is horrific, why go through having to parse that plaintext response when most languages can interpret json/xml easily into an array?


I agree the current API protocol was a poor choice. XML would be even worse with all the duplicate open and close tags. JSON is the way to go. Version 4 will use JSON for the server to client protocol. It probably won't be until version 5 before I revamp the server and make the API in JSON format also.

Thank you :D
torba
 
Posts: 3
Joined: Sat Jun 29, 2013 9:22 pm


Return to Wish List

Who is online

Users browsing this forum: No registered users and 2 guests

cron