{"id":14980183,"url":"https://github.com/linx05/bitso-node","last_synced_at":"2025-04-12T21:52:01.182Z","repository":{"id":98666297,"uuid":"116174928","full_name":"linx05/bitso-node","owner":"linx05","description":"A Node.js API Wrapper for the Bitso REST API","archived":false,"fork":false,"pushed_at":"2018-07-14T12:22:10.000Z","size":158,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T21:51:53.967Z","etag":null,"topics":["api","bitcoin","bitso","cryptocurrency","ethereum","exchange","ripple","wrapper"],"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/linx05.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":"2018-01-03T19:41:56.000Z","updated_at":"2021-08-12T04:33:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0624b0a-6983-4b54-ab1f-e993daa79b7f","html_url":"https://github.com/linx05/bitso-node","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx05%2Fbitso-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx05%2Fbitso-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx05%2Fbitso-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linx05%2Fbitso-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linx05","download_url":"https://codeload.github.com/linx05/bitso-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637833,"owners_count":21137538,"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":["api","bitcoin","bitso","cryptocurrency","ethereum","exchange","ripple","wrapper"],"created_at":"2024-09-24T14:01:25.058Z","updated_at":"2025-04-12T21:52:01.162Z","avatar_url":"https://github.com/linx05.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitso-Node-API\n\n`npm install bitso-node-api`\n\nA Node.js API Wrapper for the [Bitso REST API](https://bitso.com/api_info). Please refer to [their documentation](https://bitso.com/api_info) for the responses and parameters.\n\n```javascript\nvar BitsoNode = require('bitso-node-api');\n// Key and Secret are only necessary if you use the Private REST API\nvar bitsoClient = new BitsoNode({ \n  key: '1234',\n  secret: 'secret',\n });\n\nbitsoClient\n  .public\n  .availableBooks()\n  .then(books =\u003e {\n    console.log(books.prices);\n  });\n\n```\n\n##How to Use\n\n```javascript\nconst BitsoNode = require('bitso-node-api');\n\nconst client = new BitsoNode({\n  key: \"KEY\",\n  secret: \"SECRET\",\n});\n\n// Public API\nclient.public.ticker({\n  book: BitsoNode.exchanges.BTC_MXN\n})\n  .then(res =\u003e console.log(res))\n  .catch(err =\u003e console.log(err));\n  \n// Private API\nclient.private.accountStatus()\n  .then(res =\u003e console.log(res))\n  .catch(err =\u003e console.log(err));\n```\n\nTo use private API methods that move any currency or change account\ninformation you need to create the API client with the `authorizeMovements` parameter ser to true.\n\n(REMEMBER TO USE AT YOUR OWN RISK!)\n```javascript\nconst BitsoNode = require('bitso-node-api');\n\nconst client = new BitsoNode({\n  key: \"KEY\",\n  secret: \"SECRET\",\n  authorizeMovements: true\n});\n\nclient.private.placeOrder({\n  book: BitsoNode.exchanges.BTC_MXN,\n  side: 'buy',\n  type: 'market',\n  minor: '10000',\n})\n  .then(res =\u003e console.log(res))\n  .catch(err =\u003e console.log(err));\n```\n\n# License\n\nThe MIT License (MIT)\n\nCopyright (c) 2017 César Laredo\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinx05%2Fbitso-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinx05%2Fbitso-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinx05%2Fbitso-node/lists"}