api

package
v0.0.0-...-c8fc6b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

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

func New(cookies []string, opts ...client.Option) *API

New creates a new instance of API with the provided options. It initializes the client and sets up the services.

func (*API) Avatar

func (api *API) Avatar() *avatar.Resource

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

func (api *API) Friends() *friends.Resource

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

func (api *API) Games() *games.Resource

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

func (api *API) GetClient() *client.Client

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

func (api *API) Groups() *groups.Resource

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

func (api *API) Inventory() *inventory.Resource

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

func (api *API) Presence() *presence.Resource

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.

func (*API) Users

func (api *API) Users() *users.Resource

Users returns the Resource instance for user-related operations. This provides access to methods for interacting with user data via the Roblox API.

Directories

Path Synopsis
middleware
resources

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL