Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 444 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 444 Bytes

EMCGo

Unofficial wrapper for the EarthMC Dynmap and Official APIs in Golang.

Installation

Enter the following line into your project's terminal.

go get github.com/earthmc-toolkit/emcgo

Usage

import (
    emc "github.com/earthmc-toolkit/emcgo"
)

func main() {
    towns, err := emc.Aurora.Towns.All()

    if err != nil {
        fmt.Println(err.Error())
        return
    }

    fmt.Println(towns)
}