diff --git a/ovrstat.go b/ovrstat.go index 680fa6b..998bb02 100644 --- a/ovrstat.go +++ b/ovrstat.go @@ -57,4 +57,12 @@ func (s *OvrStatApi) FetchHeroStats(platform, region, battletag string, heroes [ } return &r, nil +} + +func ValidPlatform(platform string) bool { + return platform == "pc" || platform == "xbl" || platform == "psn" +} + +func ValidRegion(region string) bool { + return region == "us" || region == "eu" || region == "kr" } \ No newline at end of file