{"id":36489660,"url":"https://github.com/kudrykv/go-monobank-api","last_synced_at":"2026-01-12T01:54:38.515Z","repository":{"id":57603250,"uuid":"228074560","full_name":"kudrykv/go-monobank-api","owner":"kudrykv","description":"Golang client for the Monobank API","archived":false,"fork":false,"pushed_at":"2019-12-25T14:47:57.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-09T07:49:42.161Z","etag":null,"topics":["go-monobank","golang-monobank","monobank","monobank-api","monobank-client"],"latest_commit_sha":null,"homepage":"https://api.monobank.ua/docs/","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/kudrykv.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":"2019-12-14T19:05:20.000Z","updated_at":"2023-03-20T11:33:03.000Z","dependencies_parsed_at":"2022-09-26T20:01:42.177Z","dependency_job_id":null,"html_url":"https://github.com/kudrykv/go-monobank-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kudrykv/go-monobank-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudrykv%2Fgo-monobank-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudrykv%2Fgo-monobank-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudrykv%2Fgo-monobank-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudrykv%2Fgo-monobank-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kudrykv","download_url":"https://codeload.github.com/kudrykv/go-monobank-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kudrykv%2Fgo-monobank-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"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":["go-monobank","golang-monobank","monobank","monobank-api","monobank-client"],"created_at":"2026-01-12T01:54:37.677Z","updated_at":"2026-01-12T01:54:38.511Z","avatar_url":"https://github.com/kudrykv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bindings for Monobank API\n\n[![GoDoc](https://godoc.org/github.com/kudrykv/go-monobank-api?status.svg)](https://godoc.org/github.com/kudrykv/go-monobank-api)\n[![CI](https://github.com/kudrykv/go-monobank-api/workflows/CI/badge.svg)](https://github.com/kudrykv/go-monobank-api/actions?query=workflow%3ACI)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kudrykv/go-monobank-api)](https://goreportcard.com/report/github.com/kudrykv/go-monobank-api)\n[![codecov](https://codecov.io/gh/kudrykv/go-monobank-api/branch/master/graph/badge.svg)](https://codecov.io/gh/kudrykv/go-monobank-api)\n\n---\n\ngo-monobank-api is the library to interact with the Monobank API.\nIt provides clients for working with public and personal API.\n\nOne of its features is no dependencies on 3rd-party libraries.\n\nThe library allows to work with webhooks.\nIt is possible to either parse the webhook response using the helper method, or receive webhooks in channel.\n\n## Usage\n\n### Basic usage\n\n```go\npackage main\n\nimport (\n  \"context\"\n  \"fmt\"\n\n  mono \"github.com/kudrykv/go-monobank-api\"\n)\n\nfunc main() {\n  public := mono.NewPublic()\n\n  currencies, err := public.Currency(context.Background())\n  if err != nil {\n    panic(err)\n  }\n\n  fmt.Println(currencies)\n\n  private := mono.NewPersonal(\"api-token\")\n\n  info, err := private.ClientInfo(context.Background())\n  if err != nil {\n    panic(err)\n  }\n\n  fmt.Println(info)\n}\n```\n\n### Webhooks\n\nExample app for using channels:\n```go\npackage main\n\nimport (\n  \"context\"\n  \"fmt\"\n  \"net/http\"\n\n  mono \"github.com/kudrykv/go-monobank-api\"\n)\n\nfunc main() {\n  personal := mono.NewPersonal(\"api-token\")\n  if err := personal.SetWebhook(context.Background(), \"https://domain/webhook\"); err != nil {\n    panic(err)\n  }\n\n  webhookChan, handlerFunc := personal.ListenForWebhooks(context.Background())\n\n  mux := http.NewServeMux()\n  mux.HandleFunc(\"/webhook\", handlerFunc)\n\n  go func() {\n    wh := \u003c-webhookChan\n\n    fmt.Println(wh)\n  }()\n\n  if err := http.ListenAndServe(\"\", mux); err != nil {\n    panic(err)\n  }\n}\n```\n\nExample app for using helper func:\n```go\npackage main\n\nimport (\n  \"context\"\n  \"fmt\"\n  \"net/http\"\n\n  mono \"github.com/kudrykv/go-monobank-api\"\n)\n\nfunc main() {\n  personal := mono.NewPersonal(\"api-token\")\n  if err := personal.SetWebhook(context.Background(), \"https://domain/webhook\"); err != nil {\n    panic(err)\n  }\n\n  mux := http.NewServeMux()\n  mux.HandleFunc(\"/webhook\", func(w http.ResponseWriter, r *http.Request) {\n    webhook, err := personal.ParseWebhook(r.Context(), r.Body)\n    if err != nil {\n      w.WriteHeader(http.StatusInternalServerError)\n      return\n    }\n    \n    fmt.Println(webhook)\n    w.WriteHeader(http.StatusOK)\n  })\n\n  if err := http.ListenAndServe(\"\", mux); err != nil {\n    panic(err)\n  }\n}\n\n```\n\n## Support\n\nIs something missing or works in unexpected way?\n[Create for that an issue](https://github.com/kudrykv/go-monobank-api/issues/new).\n\n## Monobank API Documentation\nhttps://api.monobank.ua/docs/\n\nYou can obtain your personal token [here](https://api.monobank.ua).\n\n## Progress\n- [x] Public API\n- [x] Personal API\n- [ ] Corporate API (to do)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkudrykv%2Fgo-monobank-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkudrykv%2Fgo-monobank-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkudrykv%2Fgo-monobank-api/lists"}