Skip to content

tasadurian/go-avatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-avatar Go Report Card

Go wrapper for the avatar api.

Usage

go get github.com/TheTommyTwitch/go-avatar

func main() {
  c := new(Client)
  c.Username = "username"
  c.Password = "password"

  response, err := c.GetResponse("peter.smith@gmail.com")
  if err != nil {
    panic(err)
  }
  fmt.Printf("%+v", response)
}

Return structure:

type Profile struct {
	Name  string // name
	Image string // url to profile image
	Valid string // valid: true or false
}

About

Go wrapper for the avatar api.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages