GitXplorerGitXplorer
E

go-vimeworld

public
2 stars
1 forks
2 issues

Commits

List of commits on branch master.
Unverified
254a1a1fc64db0a9ba0f33f3d70fcfad88320abd

feat: add user tests

EEpicStep committed 3 years ago
Unverified
2588e789a9878a1b9292fb37b9bc9bbdc43cdb07

feat: add match tests

EEpicStep committed 3 years ago
Unverified
0d12a652104d397304664ef34cfb0eccb300fb60

feat: add leaderboard tests

EEpicStep committed 3 years ago
Unverified
91aa6009308a006e7f370f2008ebc66337bbf941

feat: add error test

EEpicStep committed 3 years ago
Unverified
f92137ed0fa9ef01554b83a5b03d7a661594a9e3

feat: add guild test

EEpicStep committed 3 years ago
Unverified
9de1b48619cefbf0838c95cdf9fbe0f835654c40

feat: add locale test

EEpicStep committed 3 years ago

README

The README file for this repository.

go-vimeworld is a client for VimeWorld written in go.

Go Reference tests x codecov Go Report Card


Installation

go get github.com/EpicStep/go-vimeworld

Example

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])
}

License

MIT