Wrapper for the raider.io API written in Go
include github.com/tmaffia/raiderio v0.3.3
client, err := raiderio.NewClient()
profile, err := client.GetCharacter(&CharacterQuery{
Region: raiderio.Regions.US,
Realm: "illidan",
Name: "thehighvalue",
TalentLoadout: true,
})
fmt.Println(profile.Class) // Mage
gq := raiderio.GuildQuery{
Region: raiderio.Regions.US,
Realm: "illidan",
Name: "warpath",
Members: true,
}
profile, err := client.GetGuild(&gq)
rq := raiderio.RaidQuery{
Name: "nerubar-palace",
Difficulty: raiderio.Difficulty.MythicRaid,
Region: raiderio.Regions.US,
Limit: 10,
}
rankings, err := client.GetRaidRankings(&rq)
raids, err := client.GetRaids(raiderio.Expansions.WarWithin)