go-groovecoaster

module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2017 License: MIT

README

go-groovecoaster

GoDoc CircleCI MIT License

===

Attention

Unofficial library. So don't abuse this. Please take full responsibility for your action.

Description

Go-GrooveCoaster is an unofficial client library for Groove Coaster.
You can get information about mypage.groovecoaster.jp/sp/

Installation

$ go get github.com/lycoris0731/go-groovecoaster/groovecoaster

Usage

You will need to set environment variables (or create .env)
That's values are id and password for login to NESiCA and mypage in Groove Coaster.

$ export NESICA_CARD_ID
$ export NESICA_PASSWORD
client := groovecoaster.New()

// Your information in /
client.Personal()
client.Statistics()

// Outline of currently held event
client.EventSummary()

// All played musics summary
client.MusicSummary()
// The detail of a music by MusicID (client.MusicSummary() contains all MusicID)
client.Music(161)
// Total number of ranking pages by MusicID and difficulty
client.MusicRankingPageCount(161, groovecoaster.Normal)
// The ranking of a music by MusicID and difficulty
client.MusicRanking(161, groovecoaster.Normal, 0)

// Shop information
client.ShopSummary()
// All items that can be purchased
client.ShopAvatars()
client.ShopItems()
client.ShopSkins()
client.ShopMusics()
client.ShopMessages()

// All played online battle summary
client.OnlineBattleSummary()
// The detail of a result of online battle by EID and MID (client.OnlineBattleSummary() contains all EID and MID)
client.OnlineBattle(34, 6448)

// All events summary that has been held until now
client.EventArchiveSummary()
// The detail of a result of an event by EventID (client.EventArchiveSummary() contains all EventID)
client.EventArchive()

License

Please see LICENSE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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