Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 369 Bytes

readme.md

File metadata and controls

21 lines (18 loc) · 369 Bytes

libhoggit

Provides an interface to https://atwar.online/.

client := libhoggit.Client("gaw")
state, err := client.GetState()
if err != nil {
    fmt.Printf("%v", err)
    panic(err)
}

for _, obj := range state.Objects {
    fmt.Printf("%d\t%s\t%s//%s//%s\n",
        obj.LastSeen,
        obj.ID,
        obj.Group,
        obj.Type,
        obj.Platform)
}