API isn't exporting everything?

For discussion of the Poker Mavens server module and other administration topics

API isn't exporting everything?

Postby danlol » Wed Oct 09, 2013 11:31 am

Code: Select all
curl "http://[my server]/api" --data "Password=[my password]&Command=AccountsList&Fields=Player,PW" | head -n 5
Result=Ok
Accounts=x
Player1=y
Player2=z
Player3=a


It's only dumping the usernames. How would I go about exporting everything (including the passwords?)
danlol
 
Posts: 1
Joined: Wed Oct 09, 2013 11:21 am

Re: API isn't exporting everything?

Postby Kent Briggs » Wed Oct 09, 2013 11:44 am

Passwords are encrypted (hashed) beginning with version 3.00 so they aren't exportable. For everything else, include the field name in the Fields parameter as documented in the API help.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3935
Joined: Wed Mar 19, 2008 8:47 pm


Return to Site Administration

Who is online

Users browsing this forum: Google [Bot] and 8 guests

cron