https://github.com/azurlane-api/golane
Wrapper for the unofficial azur lane json api in Go
https://github.com/azurlane-api/golane
Last synced: about 1 year ago
JSON representation
Wrapper for the unofficial azur lane json api in Go
- Host: GitHub
- URL: https://github.com/azurlane-api/golane
- Owner: azurlane-api
- License: gpl-3.0
- Created: 2019-11-12T17:39:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-19T21:34:59.000Z (over 6 years ago)
- Last Synced: 2025-04-04T22:23:56.714Z (over 1 year ago)
- Language: Go
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://goreportcard.com/report/github.com/azurlane-api/golane)
# golane
Wrapper for the unofficial azur lane json api in Go
## Docs
https://godoc.org/github.com/azurlane-api/golane
## Example
```go
package main
import (
"fmt"
"github.com/azurlane-api/golane"
)
func main() {
var azurlane = new(golane.AzurLane)
azurlane.Init("custom_ua/v0.1.0")
ships, err := azurlane.GetShips(golane.Order.RARITY, "Super Rare")
if err != nil {
fmt.Printf("Something bad happened:\n%s", err.Error())
return
}
for i := 0; i < len(ships); i++ {
fmt.Printf("[%s]: %s\n", ships[i].ID, ships[i].Name)
}
}
```
## Support
