For discussion of the Poker Mavens server module and other administration topics
danlol
Posts: 1 Joined: Wed Oct 09, 2013 11:21 am
Post
by 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?)
Kent Briggs
Site Admin
Posts: 5880 Joined: Wed Mar 19, 2008 8:47 pm
Post
by 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.