credly-go
is a Go client library for interacting with the Credly platform. It provides a simple and convenient way to programmatically access Credly's APIs and handle badges and templates.
- Badge Management: Issue, retrieve, and manage badges using the Credly API.
To install the credly-go
library, run:
go get github.com/isovalent/credly-go
package main
import (
"github.com/isovalent/credly-go/credly"
)
func main() {
// Initialize the Credly client
client := credly.NewClient("your-api-token", "your-credly-org")
// Get all badges for user [email protected]
badges, err := client.GetBadges("[email protected]")
}
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch with your feature or bug fix.
- Make your changes and add tests.
- Submit a pull request with a detailed description of your changes.
To run the tests, use:
go test ./...
Make sure to write tests for any new functionality and ensure that all existing tests pass.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
If you have any questions or need help, feel free to open an issue in the GitHub repository.