Thunderstore::Client
Inherits Reference < Object
Constants
BASE_URL = "https://thunderstore.io"
Constructors
new(community : String = "")
SourceInstance methods
community
Sourcecommunity=(community : String)
Sourceget(path : String) : HTTP::Client::Response
Initializes an HTTP::Client for the configured base_url, and executes a GET request on the specified path.
The response will have its body as a String, accessed via HTTP::Client::Response#body.
set_community(community : String)
Sets the @community instance variable.
You can find a list of communities by going to https://thunderstore.io
and looking at the the subdomains that each mod community is listed under.