Documentation
¶
Index ¶
- type API
- func (api *API) Avatar() *avatar.Resource
- func (api *API) Friends() *friends.Resource
- func (api *API) Games() *games.Resource
- func (api *API) GetClient() *client.Client
- func (api *API) Groups() *groups.Resource
- func (api *API) Inventory() *inventory.Resource
- func (api *API) Presence() *presence.Resource
- func (api *API) Thumbnails() *thumbnails.Resource
- func (api *API) Users() *users.Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API represents the main struct for interacting with the Roblox API. It contains a client for making HTTP requests and services for different API endpoints.
func New ¶
New creates a new instance of API with the provided options. It initializes the client and sets up the services.
func (*API) Avatar ¶
Avatar returns the Resource instance for avatar-related operations. This provides access to methods for interacting with avatar data via the Roblox API.
func (*API) Friends ¶
Friends returns the Resource instance for friend-related operations. This provides access to methods for interacting with friend data via the Roblox API.
func (*API) Games ¶
Games returns the Resource instance for game-related operations. This provides access to methods for interacting with game data via the Roblox API.
func (*API) GetClient ¶
GetClient returns the Client instance used by the API. This can be useful for advanced users who need direct access to the client.
func (*API) Groups ¶
Groups returns the Resource instance for group-related operations. This provides access to methods for interacting with group data via the Roblox API.
func (*API) Inventory ¶
Inventory returns the Resource instance for inventory-related operations. This provides access to methods for interacting with inventory data via the Roblox API.
func (*API) Presence ¶
Presence returns the Resource instance for presence-related operations. This provides access to methods for interacting with presence data via the Roblox API.
func (*API) Thumbnails ¶
func (api *API) Thumbnails() *thumbnails.Resource
Thumbnails returns the Resource instance for thumbnail-related operations. This provides access to methods for interacting with thumbnail data via the Roblox API.