Page 1 of 1

API isn't exporting everything?

Posted: Wed Oct 09, 2013 11:31 am
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?)

Re: API isn't exporting everything?

Posted: Wed Oct 09, 2013 11:44 am
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.