Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergiotapia/smitego
SmiteGo is an API wrapper for the Smite game from HiRez. It is written in Go!
https://github.com/sergiotapia/smitego
Last synced: about 1 month ago
JSON representation
SmiteGo is an API wrapper for the Smite game from HiRez. It is written in Go!
- Host: GitHub
- URL: https://github.com/sergiotapia/smitego
- Owner: sergiotapia
- License: mit
- Created: 2013-12-11T02:38:19.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-18T15:51:45.000Z (over 10 years ago)
- Last Synced: 2024-10-25T05:25:28.240Z (about 2 months ago)
- Language: Go
- Size: 336 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - smite - Go package to wraps access to the Smite game API. (Third-party APIs / Utility/Miscellaneous)
- awesome-go - smitego - SmiteGo is an API wrapper for the Smite game from HiRez. It is written in Go! - ★ 9 (Third-party APIs)
- awesome-go-extra - smitego - 12-11T02:38:19Z|2014-07-18T15:51:45Z| (Third-party APIs / Fail injection)
README
SmiteGo
=======Package smitego is an API wrapper for Hirez' Smite game API.
If you want easily consume data from Hirez' Smite API server then smitego
is definitely the easiest way to do it.```go
package mainimport (
"fmt"
"github.com/kr/pretty"
"github.com/sergiotapia/smitego"
)func main() {
smitego.DevID = "1132"
smitego.AuthKey = "29FA3BCE7ACF4BDDA7310A352FB855BE"smitego.GetSessionID()
match := smitego.GetMatchDetails("78900556")
fmt.Printf("%# v", pretty.Formatter(match))
}
```## Supported API Endpoints
- [ ] API - Connectivity
- [ ] Ping
- [x] CreateSession
- [ ] TestSession
- [ ] API - Smite Data
- [x] GetDataUsed
- [x] GetDemodeDetails
- [x] GetFriends
- [x] GetGodRanks
- [x] GetGods
- [x] GetGodRecommendedItems
- [x] GetItems
- [x] GetMatchDetails
- [ ] GetMatchIdsByQueue - *Completed: Look into bug. Response is empty array. Is it on Hirez's side?*
- [ ] GetLeagueLeaderBoard - *Completed: Look into bug. Response is empty array. Is it on Hirez's side?*
- [ ] GetLeagueSeasons - *Completed: Look into bug. Response is empty array. Is it on Hirez's side?*
- [x] GetMatchHistory
- [ ] GetPlayer
- [ ] GetQueueStats
- [ ] GetTeamDetails
- [ ] GetTeamMatchHistory
- [ ] GetTeamPlayers
- [ ] GetTopMatches
- [ ] SearchTeams## License
The MIT License (MIT)
Copyright (c) 2014 Sergio Tapia Gutierrez
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.