{"id":15657590,"url":"https://github.com/zauberstuhl/go-coinbase","last_synced_at":"2025-05-05T15:52:41.002Z","repository":{"id":57497643,"uuid":"79840680","full_name":"zauberstuhl/go-coinbase","owner":"zauberstuhl","description":"Coinbase Golang APIv2 Library","archived":false,"fork":false,"pushed_at":"2020-05-09T22:40:02.000Z","size":64,"stargazers_count":25,"open_issues_count":1,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T22:11:14.235Z","etag":null,"topics":["apiv2","coinbase","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zauberstuhl.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":"2017-01-23T19:42:26.000Z","updated_at":"2025-02-10T19:33:36.000Z","dependencies_parsed_at":"2022-09-03T23:20:55.160Z","dependency_job_id":null,"html_url":"https://github.com/zauberstuhl/go-coinbase","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zauberstuhl%2Fgo-coinbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zauberstuhl%2Fgo-coinbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zauberstuhl%2Fgo-coinbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zauberstuhl%2Fgo-coinbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zauberstuhl","download_url":"https://codeload.github.com/zauberstuhl/go-coinbase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252526870,"owners_count":21762587,"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","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":["apiv2","coinbase","golang"],"created_at":"2024-10-03T13:08:39.327Z","updated_at":"2025-05-05T15:52:40.948Z","avatar_url":"https://github.com/zauberstuhl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coinbase Golang API Library\n\n[![Build Status](https://travis-ci.org/Zauberstuhl/go-coinbase.svg?branch=master)](https://travis-ci.org/Zauberstuhl/go-coinbase) \n[![GoDoc](https://godoc.org/github.com/Zauberstuhl/go-coinbase?status.svg)](http://godoc.org/github.com/Zauberstuhl/go-coinbase)\n[![Codecov](https://codecov.io/gh/Zauberstuhl/go-coinbase/branch/master/graph/badge.svg)](https://codecov.io/gh/Zauberstuhl/go-coinbase)\n\nThe library was tested against coinbase.com APIv2\n\n## Installation\n\n    go get github.com/Zauberstuhl/go-coinbase\n\n    # or use gopkg for specific versions\n    go get gopkg.in/Zauberstuhl/go-coinbase.v1.0.0\n\n## Supported API Calls\n\n* Wallet Endpoints\n - [x] Users\n - [x] Accounts\n - [x] Addresses\n - [x] Transactions\n - [x] Buys\n - [x] Sells\n - [x] Deposits\n - [x] Withdrawals\n - [x] Payment methods\n* Data Endpoints\n - [x] Currencies\n - [x] Exchange rates\n - [x] Prices\n - [x] Time\n\n## Example\n\n    import \"github.com/Zauberstuhl/go-coinbase\"\n\n    c := coinbase.APIClient{\n      Key: \"123\",\n      Secret: \"123456\",\n    }\n\n    acc, err := c.Accounts()\n    if err != nil {\n      fmt.Println(err)\n      return\n    }\n\n    for _, acc := range acc.Data {\n      fmt.Printf(\"ID: %s\\nName: %s\\nType: %s\\nAmount: %f\\nCurrency: %s\\n\",\n        acc.Id, acc.Name, acc.Type,\n        acc.Balance.Amount, acc.Balance.Currency)\n    }\n\n    # sample output\n    ID: 1234-12-1234-1232\n    Name: Test Wallet\n    Type: BTC\n    Amount: 0.0\n    Currency: EUR\n    [...]\n\n## Unit Tests\n\nRun all available unit tests via:\n\n    go test\n\nMost of the tests require a internet connection!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzauberstuhl%2Fgo-coinbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzauberstuhl%2Fgo-coinbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzauberstuhl%2Fgo-coinbase/lists"}