{"id":23152607,"url":"https://github.com/neojato/coinbase-lib","last_synced_at":"2026-05-02T03:32:05.065Z","repository":{"id":78932276,"uuid":"417680100","full_name":"neojato/coinbase-lib","owner":"neojato","description":"Simple Coinbase API integration for Google Apps Script","archived":false,"fork":false,"pushed_at":"2022-11-10T22:51:08.000Z","size":66,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T15:50:50.904Z","etag":null,"topics":["apps-script","appsscript","appsscript-library","bitcoin","coinbase","coinbase-api","crypto-api","crypto-library","crypto-wallet","cryptocurrency","googleappsscript","googlesheets","javascript-library","library"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/neojato.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":"2021-10-16T01:11:36.000Z","updated_at":"2024-11-19T23:33:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a0301ee-208c-42b3-97b6-9d1d1424e6ce","html_url":"https://github.com/neojato/coinbase-lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neojato/coinbase-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fcoinbase-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fcoinbase-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fcoinbase-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fcoinbase-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neojato","download_url":"https://codeload.github.com/neojato/coinbase-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neojato%2Fcoinbase-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["apps-script","appsscript","appsscript-library","bitcoin","coinbase","coinbase-api","crypto-api","crypto-library","crypto-wallet","cryptocurrency","googleappsscript","googlesheets","javascript-library","library"],"created_at":"2024-12-17T19:16:32.150Z","updated_at":"2026-05-02T03:32:05.030Z","avatar_url":"https://github.com/neojato.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coinbase Lib for Google Apps Script\nThis library provides a simple Coinbase API integration for [Google Apps Script](https://developers.google.com/apps-script/).\n\nNew to Coinbase? Use [my referral link](https://www.coinbase.com/join/paul_35bk) and we each get $10 USD worth of Bitcoin (BTC).\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![clasp](https://img.shields.io/badge/built%20with-clasp-4285f4.svg)](https://github.com/google/clasp)\n\u003c!-- [![Donate with Bitcoin](https://en.cryptobadges.io/badge/micro/1KHCz4fZaCdgUExPs2Lis147SnTqAUHu76)](https://en.cryptobadges.io/donate/1KHCz4fZaCdgUExPs2Lis147SnTqAUHu76) --\u003e\n\n## Add to your Google Apps Script project\nWhile in the Apps Script editor:\n* Click the \"+\" button next to \"Libraries\" in the Script menus\n* Paste `1zfKYbXu33sgYgWPE6SKaFdeY-pqTWV5hEPBU4CSFs1dwKJDGfE0F55rF` (the project key for this script) in the window that appears\n* Click the \"Look up\" button to load the library\n* Select the most recent Version from the drop-down for best results\n* Leave the Identifier as \"CoinbaseLib\"\n* Click \"Add\" to confirm and add to your project\n\n## Connecting to the Coinbase API\nIn order to get the cryptocurrency information from Coinbase, you will need to supply your `API Key` and `API Secret` tokens in order to interface with this library. Head on over to the API Settings page at [Coinbase.com](https://www.coinbase.com/settings/api) (this link should take you straight there) to get started.\n* Click the \"+ New API Key\" button\n* Under Accounts, select \"All\" or whichever specific Accounts you wish to enable\n* Under Permissions, select all of the permissions needed for your script.\n  * Typically, basic read access is suffecient for a reporting app, for example:\n    * `wallet.accounts.read`\n    * `wallet.transactions.read`\n    * `wallet.buys.read`\n    * `wallet.sells.read`\n    * `wallet.trades.read`\n* Click the \"Create\" button.\n* A new window appears with your `API Key` and `API Secret`, make sure to copy these down. Once you close this window you won't be able to retrieve them again!\n\n## Use\nInstantiate the library within your code and replace `api_key` and `api_secret` with the tokens you acquired in the previous step:\n\n```javascript\n// Authenticate to access your own account via signed API Key\nlet coinbase = new CoinbaseLib.auth('api_key', 'api_secret');\n\n// Lists current user's accounts to which the authentication method has access to\nlet accounts = coinbase.getAccounts();\n```\n\n### List of Supported Endpoints\n\n#### Notification Endpoints\n* [Notifications](https://developers.coinbase.com/api/v2#notifications)\n\n#### Data Endpoints\n* [Currencies](https://developers.coinbase.com/api/v2#currencies)\n* [Exchange Rates](https://developers.coinbase.com/api/v2#exchange-rates)\n* [Prices](https://developers.coinbase.com/api/v2#prices)\n* [Time](https://developers.coinbase.com/api/v2#time)\n\n#### Wallet Endpoints\n* [Users](https://developers.coinbase.com/api/v2#users)\n* [Accounts](https://developers.coinbase.com/api/v2#accounts)\n* [Addresses](https://developers.coinbase.com/api/v2#addresses)\n* [Transactions](https://developers.coinbase.com/api/v2#transactions)\n* [Buys](https://developers.coinbase.com/api/v2#buys)\n* [Sells](https://developers.coinbase.com/api/v2#sells)\n* [Deposits](https://developers.coinbase.com/api/v2#deposits)\n* [Withdrawals](https://developers.coinbase.com/api/v2#withdrawals)\n* [Payment Methods](https://developers.coinbase.com/api/v2#payment-methods)\n\n## Contributing\n\nThis project is open for contributions, suggestions, and ideas. Feel free to submit a PR and/or create an [Issue](https://github.com/neojato/coinbase-lib/issues) with bugs, suggestions, and ideas. Stars are always welcome too!\n\nSee [list of contributors](https://github.com/neojato/coinbase-lib/graphs/contributors).\n\n## License\n\nProject is published under the [MIT license](https://github.com/neojato/coinbase-lib/blob/main/LICENSE).  \nFeel free to clone and modify repo as you want, but don't forget to keep the reference to original author, thanks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneojato%2Fcoinbase-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneojato%2Fcoinbase-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneojato%2Fcoinbase-lib/lists"}