{"id":18045270,"url":"https://github.com/dpb587/go-pairist","last_synced_at":"2025-08-24T16:32:33.355Z","repository":{"id":54938233,"uuid":"148469306","full_name":"dpb587/go-pairist","owner":"dpb587","description":"A simple, unofficial client for reading Pairist data.","archived":false,"fork":false,"pushed_at":"2021-01-20T13:26:55.000Z","size":34,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T21:50:17.044Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpb587.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-12T11:26:08.000Z","updated_at":"2022-04-26T15:50:53.000Z","dependencies_parsed_at":"2022-08-14T07:01:11.995Z","dependency_job_id":null,"html_url":"https://github.com/dpb587/go-pairist","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dpb587/go-pairist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fgo-pairist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fgo-pairist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fgo-pairist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fgo-pairist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpb587","download_url":"https://codeload.github.com/dpb587/go-pairist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fgo-pairist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271902336,"owners_count":24841188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-24T02:00:11.135Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T18:12:41.344Z","updated_at":"2025-08-24T16:32:33.335Z","avatar_url":"https://github.com/dpb587.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github.com/dpb587/go-pairist\n\nA simple, unofficial Go module for reading [Pairist](https://github.com/pivotal-cf/pairist) data.\n\n## API\n\nThe [`api`](api/) package exposes the basic endpoints for reading current and historical pairings, as well as team lists.\n\n```go\nimport \"github.com/dpb587/go-pairist/v2/api\"\n\nclient := api.NewClient(\n  http.DefaultClient,\n  os.Getenv(\"PAIRIST_FIREBASE_PROJECT_ID\"),\n  \u0026api.Auth{\n    APIKey:   os.Getenv(\"PAIRIST_FIREBASE_API_KEY\"),\n    Team:     os.Getenv(\"PAIRIST_EMAIL\"),\n    Password: os.Getenv(\"PAIRIST_PASSWORD\"),\n  },\n)\n\npairing, err := client.GetTeamCurrent(\"my-team-id\")\n\nfor _, pair := range pairing.ByRole(\"interrupt\") {\n  for _, person := range pair.People {\n    fmt.Printf(\"%s\\n\", person.DisplayName)\n  }\n}\n```\n\n## Development\n\nFor local use, ensure you have a recent version of Go installed before cloning and using.\n\n```console\n$ git clone git@github.com:dpb587/go-pairist.git\n$ cd go-pairist\n$ go test ./...\n```\n\n### CLI\n\nThe [`main`](main/) package provides a limited CLI for showing people in a role or track, showing lists, or exporting historical data as JSON.\n\n```console\n$ go run ./main -h\nUsage:\n  main [OPTIONS] \u003ccommand\u003e\n\nApplication Options:\n      --firebase-api-key=    Firebase API key [$PAIRIST_FIREBASE_API_KEY]\n      --firebase-project-id= Firebase project ID [$PAIRIST_FIREBASE_PROJECT_ID]\n      --email=               Team name [$PAIRIST_EMAIL]\n      --password=            Team password [$PAIRIST_PASSWORD]\n\nHelp Options:\n  -h, --help                 Show this help message\n\nAvailable commands:\n  export-historical  Export historical pairing data\n  list-items         Show items of a list\n  people-by-role     Show people having a specific role\n  people-by-track    Show people having a specific track\n```\n\n### Examples\n\nThe [`examples`](examples/) directory provides some other, customized examples of using this client.\n\n```console\n$ go run ./examples/pws-export.go \"$PAIRIST_TEAM_NAME\" \"$PAIRIST_TEAM_PASSWORD\" \\\n  \u003e results.csv\n```\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpb587%2Fgo-pairist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpb587%2Fgo-pairist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpb587%2Fgo-pairist/lists"}