BrowserRequests
Added new class BrowserRequests. It is planned to add the functionality of the steam site to it. Added now "get_avatar_url" and "set_avatar"
I'm not sure the abstraction should be done this way.
Ok, so you have WebAuth (MobileWebAuth basically the same thing), and SteamClient.get_web_session(). Either one provides a requests.Session that is ready to use. Therefore, I think this new abstraction should simply consume that session, and provide methods to interact with say Steam community. Methods such as changing your avatar, or changing profile info on https://steamcommunity.com/my/edit/info
Lets say we call it SteamCommunityClient, which has get/set_avatar methods. Then we use like so:
client = SteamClient()
client.cli_login()
myaccount = SteamCommunityClient(client)
myaccount.set_avatar(path_to_avatarjpg)
or
client = WebClient()
client.cli_login()
myaccount = SteamCommunityClient(client)
In a similar fashion, a SteamStoreClient or a SteamMarketClient could be created.
Ok. I will make changes. Thanks 👍
Hi :wave: I returned. I plan to introduce methods for working with Steam Community Look at the abstraction please