osu

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 4 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

osu

Godoc Report Tests Coverage Sponsor

Osu API client written in Go.

Style

Please take a look at the style guidelines if you'd like to make a pull request.

Sponsors

Cedric Fung Scott Rayapoullé Eduard Urbach
Cedric Fung Scott Rayapoullé Eduard Urbach

Want to see your own name here?

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIKey = ""

APIKey is the Osu API key.

Functions

This section is empty.

Types

type User

type User struct {
	UserID        string        `json:"user_id"`
	UserName      string        `json:"username"`
	Count300      string        `json:"count300"`
	Count100      string        `json:"count100"`
	Count50       string        `json:"count50"`
	PlayCount     string        `json:"playcount"`
	RankedScore   string        `json:"ranked_score"`
	TotalScore    string        `json:"total_score"`
	PPRank        string        `json:"pp_rank"`
	Level         string        `json:"level"`
	PPRaw         string        `json:"pp_raw"`
	Accuracy      string        `json:"accuracy"`
	CountryRankSS string        `json:"count_rank_ss"`
	CountryRankS  string        `json:"count_rank_s"`
	CountryRankA  string        `json:"count_rank_a"`
	Country       string        `json:"country"`
	PPCountryRank string        `json:"pp_country_rank"`
	Events        []interface{} `json:"events"`
}

User is a user in Osu.

func GetUser

func GetUser(nick string) (*User, error)

GetUser ...

Jump to

Keyboard shortcuts

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