func (c *Client) SC2LegacyAchievements(ctx context.Context, region Region) (*sc2c.LegacyAchievements, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/legacy/data/achievements/%d", region),
		&sc2c.LegacyAchievements{},
	)
	return dat.(*sc2c.LegacyAchievements), header, err
}
SC2LegacyAchievements returns SC2 legacy achievements for region
package blizzard
import (
	"context"
	"fmt"
	"github.com/FuzzyStatic/blizzard/sc2c"
)
func (c *Client) SC2StaticProfile(ctx context.Context, region Region) (*sc2c.StaticProfile, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/static/profile/%d", region),
		&sc2c.StaticProfile{},
	)
	return dat.(*sc2c.StaticProfile), header, err
}
func (c *Client) SC2MetadataProfile(ctx context.Context, region Region, realmID, profileID int) (*sc2c.MetadataProfile, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/metadata/profile/%d/%d/%d", region, realmID, profileID),
		&sc2c.MetadataProfile{},
	)
	return dat.(*sc2c.MetadataProfile), header, err
}
func (c *Client) SC2Profile(ctx context.Context, region Region, realmID, profileID int) (*sc2c.Profile, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/profile/%d/%d/%d", region, realmID, profileID),
		&sc2c.Profile{},
	)
	return dat.(*sc2c.Profile), header, err
}
func (c *Client) SC2ProfileLadderSummary(ctx context.Context, region Region, realmID, profileID int) (*sc2c.LadderSummary, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/profile/%d/%d/%d/ladder/summary", region, realmID, profileID),
		&sc2c.LadderSummary{},
	)
	return dat.(*sc2c.LadderSummary), header, err
}
func (c *Client) SC2ProfileLadder(ctx context.Context, region Region, realmID, profileID, ladderID int) (*sc2c.Ladder, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/profile/%d/%d/%d/ladder/%d", region, realmID, profileID, ladderID),
		&sc2c.Ladder{},
	)
	return dat.(*sc2c.Ladder), header, err
}
func (c *Client) SC2LadderGrandmaster(ctx context.Context, region Region) (*sc2c.LadderGrandmaster, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/ladder/grandmaster/%d", region),
		&sc2c.LadderGrandmaster{},
	)
	return dat.(*sc2c.LadderGrandmaster), header, err
}
func (c *Client) SC2LadderSeason(ctx context.Context, region Region) (*sc2c.LadderSeason, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/ladder/season/%d", region),
		&sc2c.LadderSeason{},
	)
	return dat.(*sc2c.LadderSeason), header, err
}
func (c *Client) SC2Player(ctx context.Context, accountID int) (*sc2c.Player, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/player/%d", accountID),
		&sc2c.Player{},
	)
	return dat.(*sc2c.Player), header, err
}
func (c *Client) SC2LegacyProfile(ctx context.Context, region Region, realmID, profileID int) (*sc2c.LegacyProfile, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/legacy/profile/%d/%d/%d", region, realmID, profileID),
		&sc2c.LegacyProfile{},
	)
	return dat.(*sc2c.LegacyProfile), header, err
}
func (c *Client) SC2LegacyProfileLadders(ctx context.Context, region Region, realmID, profileID int) (*sc2c.LegacyProfileLadders, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/legacy/profile/%d/%d/%d/ladders", region, realmID, profileID),
		&sc2c.LegacyProfileLadders{},
	)
	return dat.(*sc2c.LegacyProfileLadders), header, err
}
func (c *Client) SC2LegacyProfileMatches(ctx context.Context, region Region, realmID, profileID int) (*sc2c.LegacyProfileMatches, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/legacy/profile/%d/%d/%d/matches", region, realmID, profileID),
		&sc2c.LegacyProfileMatches{},
	)
	return dat.(*sc2c.LegacyProfileMatches), header, err
}
func (c *Client) SC2LegacyLadder(ctx context.Context, region Region, ladderID int) (*sc2c.LegacyLadder, *Header, error) {
	dat, header, err := c.getStructDataNoNamespace(ctx,
		fmt.Sprintf("/sc2/legacy/ladder/%d/%d", region, ladderID),
		&sc2c.LegacyLadder{},
	)
	return dat.(*sc2c.LegacyLadder), header, err
}