API isn't exporting everything?

For discussion of the Poker Mavens server module and other administration topics
Post Reply
danlol
Posts: 1
Joined: Wed Oct 09, 2013 11:21 am

API isn't exporting everything?

Post by danlol »

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?)
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: API isn't exporting everything?

Post by Kent Briggs »

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.
Post Reply