philippj / SteamworksPy

A working Python API system for Valve's Steamworks.
MIT License
212 stars 39 forks source link

Subscribing to a mod or so ? #80

Closed dlartigu closed 1 year ago

dlartigu commented 1 year ago

Hello, I wonder if your API provide a way to subscribe to somethiong like a mod ? I mean, like if somebody click on a link to a mod but instead of opening the web page it subscribe to it. Thanks a lot!

philippj commented 1 year ago

That can be done through the SteamUGC interface

dlartigu commented 1 year ago

Okay thanks for answering!

dlartigu commented 1 year ago

After some month I still can't find a way to do so. I might be really blind! Where is the SteamUGC ? Should I use the subscribeItem method ? Thanks a lot

philippj commented 1 year ago

Hi, you can interface with the Steam UGC interface through the SteamWorkshop class.

For example:

...
steamworks = STEAMWORKS()
...

steamworks.Workshop.SubscribeItem(published_file_id, callback)