{"id":38359347,"url":"https://github.com/equalsgibson/five9-go","last_synced_at":"2026-01-17T03:18:40.729Z","repository":{"id":222146641,"uuid":"692897804","full_name":"equalsgibson/five9-go","owner":"equalsgibson","description":"Interact with Five9 REST API and WebSocket using Go","archived":false,"fork":false,"pushed_at":"2025-06-13T14:36:25.000Z","size":397,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T03:41:36.627Z","etag":null,"topics":["five9","golang","rest-api","websocket"],"latest_commit_sha":null,"homepage":"","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/equalsgibson.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-17T22:57:21.000Z","updated_at":"2025-06-13T14:36:10.000Z","dependencies_parsed_at":"2024-02-12T16:47:27.092Z","dependency_job_id":"6f1cbba7-6691-4135-a52c-50cdfc9efd82","html_url":"https://github.com/equalsgibson/five9-go","commit_stats":null,"previous_names":["equalsgibson/five9-go"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/equalsgibson/five9-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equalsgibson%2Ffive9-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equalsgibson%2Ffive9-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equalsgibson%2Ffive9-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equalsgibson%2Ffive9-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/equalsgibson","download_url":"https://codeload.github.com/equalsgibson/five9-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equalsgibson%2Ffive9-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492638,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["five9","golang","rest-api","websocket"],"created_at":"2026-01-17T03:18:40.597Z","updated_at":"2026-01-17T03:18:40.706Z","avatar_url":"https://github.com/equalsgibson.png","language":"Go","readme":"\u003c!-- markdownlint-configure-file { \"MD004\": { \"style\": \"consistent\" } } --\u003e\n\u003c!-- markdownlint-disable MD033 --\u003e\n\n#\n\n\u003cp align=\"center\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://equalsgibson.github.io/five9-go/logo-dark.png\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://equalsgibson.github.io/five9-go/logo-light.png\"\u003e\n    \u003cimg src=\"https://equalsgibson.github.io/five9-go/logo-light.png\" width=\"410\" height=\"205\" alt=\"Five9Go website\"\u003e\n  \u003c/picture\u003e\n    \u003cbr\u003e\n    \u003cstrong\u003eEasily integrate your Go application with the Five9 REST and WebSocket API\u003c/strong\u003e\n\n\u003c/p\u003e\n\n\u003c!-- markdownlint-enable MD033 --\u003e\n\n-   **Easy to use**: Get up and running with the library in minutes\n-   **Intuitive**: Access your Five9 Domains data using only a few functions\n-   **Actively developed**: Ideas and contributions welcomed!\n\n---\n\n\u003cdiv align=\"right\"\u003e\n\n[![Go][golang]][golang-url]\n[![Code Coverage][coverage]][coverage-url]\n[![Go Reference][goref]][goref-url]\n[![Go Report Card][goreport]][goreport-url]\n\n\u003c/div\u003e\n\n## Getting Started\n\nFor a full API reference, see the official [Five9 REST API documentation](https://webapps.five9.com/assets/files/for_customers/documentation/apis/vcc-agent+supervisor-rest-api-reference-guide.pdf)\n\n### Prerequisites\n\nDownload and install Go, version 1.21+, from the [official Go website](https://go.dev/doc/install).\n\n### Install\n\n```shell\ngo get github.com/equalsgibson/five9-go\n```\n\n### Quickstart\n\nTo see more detailed examples, checkout the [example](/example/) directory. This will demonstrate how to use the library to make REST requests, or connect to the WebSocket and access the in-memory cache.\n\n#### Lookup all the users within your Five9 Domain\n\nBelow is a short example showing how to list all the users within your Five9 Domain using the library.\n\n\u003e **Note**  \n\u003e Make sure to `go get` the library, and set the required ENV variables (`FIVE9PASSWORD` and `FIVE9USERNAME`) before running the below example.\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"log\"\n\t\"net/http\"\n\t\"os\"\n\n\t\"github.com/equalsgibson/five9-go/five9\"\n\t\"github.com/equalsgibson/five9-go/five9/five9types\"\n)\n\nfunc main() {\n\t// Set up a new Five9 service\n\tctx := context.Background()\n\tc := five9.NewService(\n\t\tfive9types.PasswordCredentials{\n\t\t\tUsername: os.Getenv(\"FIVE9USERNAME\"),\n\t\t\tPassword: os.Getenv(\"FIVE9PASSWORD\"),\n\t\t},\n\t\tfive9.AddRequestPreprocessor(func(r *http.Request) error {\n\t\t\tlog.Printf(\"five9 Rest API Call: [%s] %s\", r.Method, r.URL.String())\n\n\t\t\treturn nil\n\t\t}),\n\t)\n\n\tdomainUsers, err := c.Supervisor().GetAllDomainUsers(ctx)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\t// Print a count of the users within your Five9 Domain\n\tlog.Printf(\"You have %d users within your Five9 Domain.\\n\", len(domainUsers))\n}\n```\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, get inspired, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\u003c!-- LICENSE --\u003e\n\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n\n\u003c!-- CONTACT --\u003e\n\n## Contact\n\n[Chris Gibson (@equalsgibson)](https://github.com/equalsgibson)\n\nProject Link: [https://github.com/equalsgibson/five9-go](https://github.com/equalsgibson/five9-go)\n\n\u003c!-- ACKNOWLEDGMENTS --\u003e\n\n## Acknowledgments\n\n-   Huge thanks to [@aaronellington](https://github.com/aaronellington) for the continued assistance\n-   Thanks to Five9 for providing documentation for their API.\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n\n[golang]: https://img.shields.io/badge/v1.21-000?logo=go\u0026logoColor=fff\u0026labelColor=444\u0026color=%2300ADD8\n[golang-url]: https://go.dev/\n[coverage]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fequalsgibson.github.io%2Ffive9-go%2Fcoverage%2Fcoverage.json\u0026query=%24.total\u0026label=Coverage\n[coverage-url]: https://equalsgibson.github.io/five9-go/coverage/coverage.html\n[goaction]: https://github.com/equalsgibson/five9-go/actions/workflows/go.yml/badge.svg?branch=main\n[goaction-url]: https://github.com/equalsgibson/five9-go/actions/workflows/go.yml\n[goref]: https://pkg.go.dev/badge/github.com/equalsgibson/five9-go.svg\n[goref-url]: https://pkg.go.dev/github.com/equalsgibson/five9-go\n[goreport]: https://goreportcard.com/badge/github.com/equalsgibson/five9-go\n[goreport-url]: https://goreportcard.com/report/github.com/equalsgibson/five9-go\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequalsgibson%2Ffive9-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fequalsgibson%2Ffive9-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequalsgibson%2Ffive9-go/lists"}