Skip to content

derickdiaz/go-credly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

go-credly

This Golang Module is used to get a user's badges from credly

Installtion

go get github.com/derickdiaz/[email protected]

Usage

svc := credly.CredlyService{}
badges, err := svc.GetBadges("username")
if err != nil {
    panic()
}
for _, badge := range badges.Data {
    fmt.Println(badge.GetName())
    fmt.Println(badge.GetIssueDate())
    fmt.Println(badge.GetExpiredDate())
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages