{"id":23699657,"url":"https://github.com/bzdvdn/sipuni-go","last_synced_at":"2025-09-19T18:27:43.838Z","repository":{"id":215432306,"uuid":"738722507","full_name":"bzdvdn/sipuni-go","owner":"bzdvdn","description":"api client for sipuni telephony at Golang","archived":false,"fork":false,"pushed_at":"2024-01-04T11:33:15.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T18:33:37.411Z","etag":null,"topics":["api-client","golang","sipuni"],"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/bzdvdn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-03T22:28:42.000Z","updated_at":"2024-01-03T22:29:58.000Z","dependencies_parsed_at":"2024-01-04T12:46:09.939Z","dependency_job_id":null,"html_url":"https://github.com/bzdvdn/sipuni-go","commit_stats":null,"previous_names":["bzdvdn/sipuni-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bzdvdn/sipuni-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdvdn%2Fsipuni-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdvdn%2Fsipuni-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdvdn%2Fsipuni-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdvdn%2Fsipuni-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bzdvdn","download_url":"https://codeload.github.com/bzdvdn/sipuni-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bzdvdn%2Fsipuni-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275982611,"owners_count":25564147,"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-09-19T02:00:09.700Z","response_time":108,"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":["api-client","golang","sipuni"],"created_at":"2024-12-30T08:14:11.127Z","updated_at":"2025-09-19T18:27:43.820Z","avatar_url":"https://github.com/bzdvdn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Api client for sipuni telephony\n\n## Install\n\n    go get -u github.com/bzdvdn/sipuni-go/sipuni\n\n## Usage\n\n=======\n\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\n\t\"github.com/bzdvdn/sipuni-go/sipuni\"\n)\n\nfunc main() {\n\tclient := sipuni.NewClient(\"\u003cid\u003e\", \"\u003csecreteKey\u003e\")\n}\n```\n\n#### Make calls\n\n- \u003ca href=\"https://help.sipuni.com/articles/134-182-113--sozdanie-zvonka-na-nomer-s-pomoshyu-api/\"\u003eDocumentation\u003c/a\u003e\n\n```go\n// make basic call\nclient.Call.MakeCall(\"79379992\", \"201\", 0, 0)\n\n// make tree call\nclient.Call.MakeTreeCall(\"79379992\", \"201\", \"000658610\", 0, 0)\n\n// make external call\nclient.Call.MakeExternalCall(\"79379992\", \"79379993\", \"201\", \"202\")\n\n```\n\n#### Make voice call\n\n- \u003ca href=\"https://help.sipuni.com/articles/134-182-107--generaciya-golosovogo-zvonka-s-pomoshyu-api/I\"\u003eDocumentation\u003c/a\u003e\n\n```go\n\nclient.Call.MakeVoiceCall(\"79379992\", \"text 123\", \"Anna_n\", \"201\")\n\n```\n\n#### Hangup call\n\n- \u003ca href=\"https://help.sipuni.com/articles/134-182-108--zapros-na-zavershenie-zvonka/\"\u003eDocumentation\u003c/a\u003e\n\n```go\nclient.Call.HangUpCall(\"0286966c7e35e1ec2565e9d37e77edb1\")\n\n```\n\n#### Statistic\n\n- \u003ca href=\"https://help.sipuni.com/articles/134-182-112--poluchenie-statistiki-po-zvonkam-zapisej-razgovorov-i-statusov-sotrudnikov/\"\u003eDocumentation\u003c/a\u003e\n\n```go\n\n// export requests\nexReq := sipuni.ExportRequest{\n    From: time.Now().AddDate(0, 0, -1),\n    To:   time.Now(),\n}\ncsvData, err := client.Statistic.Export(exReq)\n\n// export all\ncsvData, err := client.Statistic.ExportAll(10, \"asc\", 1)\n\n// get call record\nrecord, err := client.Statistic.getRecord(\"123\")\n\n```\n\n### TODO\n\n- examples\n- tests\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzdvdn%2Fsipuni-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbzdvdn%2Fsipuni-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbzdvdn%2Fsipuni-go/lists"}