Documentation ¶
Index ¶
- type Client
- func (client *Client) Achievements() (*structs.Achievements, error)
- func (client *Client) Bazaar() (*structs.Bazaar, error)
- func (client *Client) Boosters() (*structs.Boosters, error)
- func (client *Client) Challenges() (*structs.Challenges, error)
- func (client *Client) Friends(name string) (*structs.Friends, error)
- func (client *Client) Games() (*structs.Games, error)
- func (client *Client) GuildAchievements() (*structs.GuildAchievements, error)
- func (client *Client) GuildById(id string) (*structs.Guild, error)
- func (client *Client) GuildByName(name string) (*structs.Guild, error)
- func (client *Client) GuildByPlayer(player string) (*structs.Guild, error)
- func (client *Client) KeyData() (*structs.Key, error)
- func (client *Client) Leaderboards() (*structs.Leaderboards, error)
- func (client *Client) PlayerCounts() (*structs.PlayerCounts, error)
- func (client *Client) PlayerData(name string) (*structs.Player, error)
- func (client *Client) PlayerStatus(name string) (*structs.PlayerStatus, error)
- func (client *Client) PunishmentStats() (*structs.PunishmentStats, error)
- func (client *Client) Quests() (*structs.Quests, error)
- func (client *Client) RankedSkywars(name string) (*structs.RankedSkywars, error)
- func (client *Client) RecentGames(name string) (*structs.RecentGames, error)
- func (client *Client) SkyblockActiveAuctions() (*structs.SkyblockActiveAuctions, error)
- func (client *Client) SkyblockActiveAuctionsPage(page int) (*structs.SkyblockActiveAuctionsPage, error)
- func (client *Client) SkyblockAuctionByPlayer(player string) (*structs.SkyblockAuctions, error)
- func (client *Client) SkyblockAuctionByProfileUuid(uuid string) (*structs.SkyblockAuctions, error)
- func (client *Client) SkyblockAuctionByUuid(uuid string) (*structs.SkyblockAuctions, error)
- func (client *Client) SkyblockCollections() (*structs.SkyblockCollections, error)
- func (client *Client) SkyblockEndedAuctions() (*structs.SkyblockEndedAuctions, error)
- func (client *Client) SkyblockItems() (*structs.SkyblockItems, error)
- func (client *Client) SkyblockNews() (*structs.SkyblockNews, error)
- func (client *Client) SkyblockProfile(profile string) (*structs.SkyblockProfile, error)
- func (client *Client) SkyblockProfiles(name string) (*structs.SkyblockProfiles, error)
- func (client *Client) SkyblockSkills() (*structs.SkyblockSkills, error)
- func (client *Client) Uuid(name string) (string, error)
- func (client *Client) VanityCompanions() (*structs.Vanity, error)
- func (client *Client) VanityPets() (*structs.Vanity, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Achievements ¶
func (client *Client) Achievements() (*structs.Achievements, error)
Method to get the global achievements
func (*Client) Challenges ¶
func (client *Client) Challenges() (*structs.Challenges, error)
Method to get a list of all challenges
func (*Client) GuildAchievements ¶
func (client *Client) GuildAchievements() (*structs.GuildAchievements, error)
Method to get a list of guild achievements
func (*Client) GuildByName ¶
Method to get a guild by its name
func (*Client) GuildByPlayer ¶
Method to get a guild by a player
func (*Client) Leaderboards ¶
func (client *Client) Leaderboards() (*structs.Leaderboards, error)
Method to get the current leaderboards
func (*Client) PlayerCounts ¶
func (client *Client) PlayerCounts() (*structs.PlayerCounts, error)
Method to get the current player counts
func (*Client) PlayerData ¶
Method to get the data of a player
func (*Client) PlayerStatus ¶
func (client *Client) PlayerStatus(name string) (*structs.PlayerStatus, error)
Method to get a player's status
func (*Client) PunishmentStats ¶
func (client *Client) PunishmentStats() (*structs.PunishmentStats, error)
Method to get the punishment statistics
func (*Client) RankedSkywars ¶
func (client *Client) RankedSkywars(name string) (*structs.RankedSkywars, error)
Method to get the ranked skywars data of a player. Will return an error if no data is found
func (*Client) RecentGames ¶
func (client *Client) RecentGames(name string) (*structs.RecentGames, error)
Method to get the recently played games of a player
func (*Client) SkyblockActiveAuctions ¶
func (client *Client) SkyblockActiveAuctions() (*structs.SkyblockActiveAuctions, error)
Method to get the active skyblock auctions
! DO NOT USE THIS WITHOUT CACHING, it will send out a lot of requests (50 or so) and this can rate limit your api key very quickly
func (*Client) SkyblockActiveAuctionsPage ¶ added in v0.1.0
func (client *Client) SkyblockActiveAuctionsPage(page int) (*structs.SkyblockActiveAuctionsPage, error)
func (*Client) SkyblockAuctionByPlayer ¶
func (client *Client) SkyblockAuctionByPlayer(player string) (*structs.SkyblockAuctions, error)
Method to get the auctions of a player
func (*Client) SkyblockAuctionByProfileUuid ¶
func (client *Client) SkyblockAuctionByProfileUuid(uuid string) (*structs.SkyblockAuctions, error)
Method to get an auction by a profile uuid
func (*Client) SkyblockAuctionByUuid ¶
func (client *Client) SkyblockAuctionByUuid(uuid string) (*structs.SkyblockAuctions, error)
Method to get an auction by its uuid
func (*Client) SkyblockCollections ¶
func (client *Client) SkyblockCollections() (*structs.SkyblockCollections, error)
Method to get a list of the skyblock collections
func (*Client) SkyblockEndedAuctions ¶
func (client *Client) SkyblockEndedAuctions() (*structs.SkyblockEndedAuctions, error)
Method to get the ended auctions
func (*Client) SkyblockItems ¶
func (client *Client) SkyblockItems() (*structs.SkyblockItems, error)
Method to get a list of the skyblock items
func (*Client) SkyblockNews ¶
func (client *Client) SkyblockNews() (*structs.SkyblockNews, error)
Method to get the skyblock news
func (*Client) SkyblockProfile ¶
func (client *Client) SkyblockProfile(profile string) (*structs.SkyblockProfile, error)
Method to get a skyblock profile by its uuid
func (*Client) SkyblockProfiles ¶
func (client *Client) SkyblockProfiles(name string) (*structs.SkyblockProfiles, error)
Method to get the skyblock profiles of a player
func (*Client) SkyblockSkills ¶
func (client *Client) SkyblockSkills() (*structs.SkyblockSkills, error)
Method to get a list of the skills in skyblock
func (*Client) Uuid ¶ added in v0.0.4
Function to convert a player name to uuid using the mojang api