Archisteamfarm: API enhancement

Created on 3 Dec 2016  ·  1Comment  ·  Source: JustArchiNET/ArchiSteamFarm

Well, I'm -sloooowly- working on a shell/GUI for ASF's WCF mode, i've thought some useful properties to extend the existing getStatus() command (!api):

FarmingOrder

Property: /Bots/\ Value: 0 to 8 (as in EFarmingOrder enum)
Source: BotConfig.FarmingOrder
Use: The external app can show the bot's selected farming algorithm. Could possibly be paired with my other suggestion here #368.

IsBotAccount

Property: /Bots/\ Value: True/False
Source: BotConfig.IsBotAccount
Uses: The external app can show or hide bots from display, while keeping master account visible. Also, statistics can be broken down to a "master+bots" design where master's data would be verbose and bots' data would be more compact (summarized).

SteamID64

Property: /Bots/\ Value: longint
Source: SteamClient.SteamID ❓
Uses: The app can use steamID64 to retrieve bot's avatar easily. It's useful to link to bot's profile page or subpages (wishlist) or even retrieve and parse bot's game list -assuming the app also has an API key.

Final thoughts

The first two are dead easy for you to include, i guess. While both properties can be retrieved from bot's .config file, this eliminates the need for the external app to read (and mess with) ASF's files. The third property might be a bit complicated but highly useful since id64 cannot be retrieved without a third party API, afaik.

What do you think of them? 😀

Enhancement Low priority Wishlist

Most helpful comment

I don't have anything against those 3 extra properties, why not. I'll probably add them soon.

>All comments

I don't have anything against those 3 extra properties, why not. I'll probably add them soon.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JustArchi picture JustArchi  ·  3Comments

ttrl picture ttrl  ·  3Comments

tambry picture tambry  ·  4Comments

light444 picture light444  ·  3Comments

zypA13510 picture zypA13510  ·  3Comments