Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guicaulada/wowapi
Golang API client for World of Warcraft
https://github.com/guicaulada/wowapi
Last synced: about 1 month ago
JSON representation
Golang API client for World of Warcraft
- Host: GitHub
- URL: https://github.com/guicaulada/wowapi
- Owner: guicaulada
- License: agpl-3.0
- Created: 2023-04-23T22:16:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-18T02:34:12.000Z (about 1 year ago)
- Last Synced: 2024-10-08T09:01:12.028Z (3 months ago)
- Language: Go
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wowapi
Golang API client for World of Warcraft.In order to try this API you will need an OAuth access token from one of your registered OAuth clients. You can register a new client at https://develop.battle.net/access/clients.
For more information on the API, see https://develop.battle.net/documentation/world-of-warcraft.
This API client is generated using Go templates and GitHub Actions.
This project is not affiliated with Blizzard Entertainment.
## Usage
```go
profileClient, err := profile.NewClient(myClientId, myClientSecret, myRegion, nil)
if err != nil {
log.Fatalln(err)
}
res, err := profileClient.CharacterProfileSummary("tichondrius", "sighmir", "profile-us", "en_US")
if err != nil {
log.Fatalln(err)
}
body, err := ioutil.ReadAll(res.Body)
if err != nil {
log.Fatalln(err)
}
fmt.Println(string(body))
```
For more information check the [examples](examples) directory.## License
wowapi - Golang API client for World of Warcraft
Copyright (C) 2023 Guilherme CauladaThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .