Skip to content

essentialkaos/go-crowd

PkgGoDev GoReportCard GitHub Actions CI Status GitHub Actions CodeQL Status

Usage exampleCI StatusLicense


go-crowd is a Go package for working with Crowd REST API.

Important

Please note that this package only supports retrieving data from the Crowd API (i.e. you cannot create or modify data with this package).

Usage example

package main

import (
  "fmt"
  "github.com/essentialkaos/go-crowd/v3"
)

func main() {
  api, err := crowd.NewAPI("https://crowd.domain.com/crowd/", "myapp", "MySuppaPAssWOrd")

  if err != nil {
    fmt.Printf("Error: %v\n", err)
    return
  }

  api.SetUserAgent("MyApp", "1.2.3")

  user, err := api.GetUser("john", true)

  if err != nil {
    fmt.Printf("Error: %v\n", err)
    return
  }

  fmt.Printf("%#v\n", user)
}

CI Status

Branch Status
master (Stable) CI
develop (Unstable) CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0

About

Go package for working with Atlassian Crowd REST API

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •