{"id":36546938,"url":"https://github.com/sugarblock/go-simplex","last_synced_at":"2026-01-15T02:40:17.806Z","repository":{"id":61606919,"uuid":"550478501","full_name":"sugarblock/go-simplex","owner":"sugarblock","description":"Go binding for Simplex Wallet API ","archived":false,"fork":false,"pushed_at":"2022-11-21T19:17:09.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-08-07T21:39:42.799Z","etag":null,"topics":["api","go","simplex"],"latest_commit_sha":null,"homepage":"https://integrations.simplex.com/reference","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sugarblock.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":"2022-10-12T20:51:15.000Z","updated_at":"2022-11-17T20:58:11.000Z","dependencies_parsed_at":"2023-01-22T07:02:00.273Z","dependency_job_id":null,"html_url":"https://github.com/sugarblock/go-simplex","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sugarblock/go-simplex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarblock%2Fgo-simplex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarblock%2Fgo-simplex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarblock%2Fgo-simplex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarblock%2Fgo-simplex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sugarblock","download_url":"https://codeload.github.com/sugarblock/go-simplex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarblock%2Fgo-simplex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"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","go","simplex"],"created_at":"2026-01-12T06:06:29.135Z","updated_at":"2026-01-15T02:40:17.799Z","avatar_url":"https://github.com/sugarblock.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-simplex\nGo binding for Simplex API \n\n## Installation\n\nUse go get.\n\n\tgo get github.com/sugarblock/go-simplex\n\nThen import the go-simplex package into your own code.\n\n\timport (\n        \"github.com/sugarblock/go-simplex\"\n\t    v2 \"github.com/sugarblock/go-simplex/api/v2\"\n        )\n\n## Usage\n\nSet **apikey** environment variable\n\n```\n$ export SIMPLEX_APIKEY=''\n```\n\n### GetQuote:\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/sugarblock/go-simplex\"\n\tv2 \"github.com/sugarblock/go-simplex/api/v2\"\n)\n\nfunc main() {\n\tcli, err := simplex.NewEnvClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\trequest := \u0026v2.QuoteRequest{\n\t\tEndUserId:         \"11b111d1-161e-32d9-6bda-8dd2b5c8af17\",\n\t\tDigitalCurrency:   \"BTC\",\n\t\tFiatCurrency:      \"USD\",\n\t\tRequestedCurrency: \"USD\",\n\t\tRequestedAmount:   50,\n\t\tWalletId:          \"WalletID\",\n\t\tClientIp:          \"1.2.3.4\",\n\t}\n\n\tquote, err := cli.GetQuote(context.TODO(), request)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tjson, _ := json.Marshal(quote)\n\tfmt.Println(string(json))\n}\n\n```\n\n### GetAllEvent:\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/sugarblock/go-simplex\"\n)\n\nfunc main() {\n\tcli, err := simplex.NewEnvClient()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tevents, err := cli.GetAllEvents(context.TODO())\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tjson, _ := json.Marshal(events)\n\tfmt.Println(string(json))\n}\n```\n\n## License\n\nApache License 2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarblock%2Fgo-simplex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsugarblock%2Fgo-simplex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarblock%2Fgo-simplex/lists"}