Documentation
¶
Overview ¶
This package is mostly a rewrite of https://github.com/SegoCode/swd/blob/main/swd.go which was provided via GitHub under The Unlicence
Index ¶
- Constants
- func CheckAvailable(resource interface{}) (string, []error)
- func DownloadResource(id int, output io.Writer) error
- func ExtractResource(id int, dir string, verbose bool) (string, error)
- func GetGame(id interface{}) (string, error)
- func GetResourceTitle(url string) (string, error)
- func IsCollection(url string) (bool, error)
- func WorkshopIDFromURL(url string) (int, error)
- func WorkshopIDToURL(id interface{}) (string, bool)
Constants ¶
View Source
const ENDPOINT string = "https://node05.steamworkshopdownloader.io/prod//api/"
Variables ¶
This section is empty.
Functions ¶
func CheckAvailable ¶
func GetGame ¶
Gets the game from a steam workshop ID or URL. Arg "id" accepts int or string, where the former is the ID and the latter is the full URL.
func GetResourceTitle ¶
func IsCollection ¶
func WorkshopIDFromURL ¶
func WorkshopIDToURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.