go-vimeworld is a client for VimeWorld written in go.
go get github.com/EpicStep/go-vimeworld
package main
import (
"context"
"fmt"
"github.com/EpicStep/go-vimeworld/vimeworld"
)
func main() {
c, err := vimeworld.NewClient(vimeworld.Options{})
if err != nil {
panic(err)
}
user, err := c.GetUsersByNames(context.Background(), "EpicStep")
if err != nil {
panic(err)
}
if len(user) == 0 {
panic("user not found")
}
fmt.Println(user[0])
}
MIT