Documentation ¶
Overview ¶
Package peppy implements the osu! API as defined on the osu-api repository wiki (https://github.com/ppy/osu-api/wiki).
Package peppy implements the osu! API as defined on the osu-api repository wiki (https://github.com/ppy/osu-api/wiki).
Index ¶
- Variables
- func GetBeatmap(c *fasthttp.RequestCtx, db *sqlx.DB)
- func GetMatch(c *fasthttp.RequestCtx, db *sqlx.DB)
- func GetScores(c *fasthttp.RequestCtx, db *sqlx.DB)
- func GetUser(c *fasthttp.RequestCtx, db *sqlx.DB)
- func GetUserBest(c *fasthttp.RequestCtx, db *sqlx.DB)
- func GetUserRecent(c *fasthttp.RequestCtx, db *sqlx.DB)
Constants ¶
This section is empty.
Variables ¶
View Source
var R *redis.Client
R is a redis client.
Functions ¶
func GetBeatmap ¶
func GetBeatmap(c *fasthttp.RequestCtx, db *sqlx.DB)
GetBeatmap retrieves general beatmap information.
func GetMatch ¶
func GetMatch(c *fasthttp.RequestCtx, db *sqlx.DB)
GetMatch retrieves general match information.
func GetScores ¶
func GetScores(c *fasthttp.RequestCtx, db *sqlx.DB)
GetScores retrieve information about the top 100 scores of a specified beatmap.
func GetUser ¶
func GetUser(c *fasthttp.RequestCtx, db *sqlx.DB)
GetUser retrieves general user information.
func GetUserBest ¶
func GetUserBest(c *fasthttp.RequestCtx, db *sqlx.DB)
GetUserBest retrieves an user's best scores.
func GetUserRecent ¶
func GetUserRecent(c *fasthttp.RequestCtx, db *sqlx.DB)
GetUserRecent retrieves an user's recent scores.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.