As the project seems deprecated somehow, is there any other solution?
Paul van Assen wrote a library (https://github.com/pvanassen/steam-api) which helps to login and other interacting things with steam.
The only thing that isn't working for me is the login part. My login method:
public void login(String cookies) {
this.steamService = StoreFactory.getSteamStore(cookies, "[Username]");
try {
steamService.getLoginService().login("[Username]", "[Password]");
} catch (SteamGuardException ex) {
String steamGuard = JOptionPane.showInputDialog("SteamGuardCode:");
steamService.getLoginService().loginSteamGuard("[Username]",
"[Password]", ex.getEmailSteamId(), "[NameOfDeviceInSteamGuard]",
steamGuard);
} catch (CapchaException ex) {
System.out.println(ex.getCapchaUrl());
String captcha = JOptionPane.showInputDialog("CaptchaCode:");
steamService.getLoginService().loginCapcha("[Username]",
"[Password]", ex.getCapchaGid(), captcha);
} catch (VerificationException e) {
System.out.println("Not working ... \n " + e.toString());
}
}
My cookie string looks like this:
"Steam_Language=english; steamCountry=[XYZ]; steamLogin=[XYZ]; steamLoginSecure=[XYZ]; sessionid=[XYZ]; webTradeEligibility=[XYZ]; steamRememberLogin=[XYZ]";
If I try to print the error message, all I get is an empty string.
I have now Mobile Authenticator enabled, if this helps!
But other things, for example listing buyable items from the community market, are working with this API.
// Still no solution after a long time =( - what else can I do D:?