{"id":18350160,"url":"https://github.com/ralphilius/cryptogas","last_synced_at":"2025-07-27T10:34:30.949Z","repository":{"id":79829363,"uuid":"115636419","full_name":"ralphilius/CryptoGAS","owner":"ralphilius","description":"This Google Apps Script library provide functions to retrieve values from cryptocurrency marketplace in order to build a portfolio.","archived":false,"fork":false,"pushed_at":"2023-12-15T20:15:28.000Z","size":19,"stargazers_count":4,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T09:43:47.356Z","etag":null,"topics":["crypto","cryptocurrency","cryptocurrency-marketplace","google-apps-script","google-sheets","portfolio"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ralphilius.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":"2017-12-28T15:34:59.000Z","updated_at":"2022-02-11T23:03:32.000Z","dependencies_parsed_at":"2024-11-05T21:30:52.998Z","dependency_job_id":null,"html_url":"https://github.com/ralphilius/CryptoGAS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ralphilius/CryptoGAS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphilius%2FCryptoGAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphilius%2FCryptoGAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphilius%2FCryptoGAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphilius%2FCryptoGAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ralphilius","download_url":"https://codeload.github.com/ralphilius/CryptoGAS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphilius%2FCryptoGAS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267345432,"owners_count":24072519,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"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":["crypto","cryptocurrency","cryptocurrency-marketplace","google-apps-script","google-sheets","portfolio"],"created_at":"2024-11-05T21:25:26.928Z","updated_at":"2025-07-27T10:34:30.931Z","avatar_url":"https://github.com/ralphilius.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\nCryptoGAS\n\u003c/h1\u003e\nThis Google Apps Script library provide functions to retrieve values from cryptocurrency marketplace in order to build a portfolio.\n\n# Installation :zap:\n1. Create or open desired Google Sheets\n2. Open Tools \u003e\u003e Script Edit \n3. Create `jsSHA.gs` and `CryptoGAS.gs` files with content from this repo\n\n# Supported Sites\nCurrently, CryptoGAS has API integration with below trading platforms:\n- Bittrex\n- HitBTC\n- Binance (In Development)\n\n# Usage \n## 1. Bittrex\nOpen a sheet then type following function with all required parameters \n`=Bittrex(apiMethod,apiKey,apiSecret, query, parseOptions)`\n\n|Parameter|Required|Description|\n|---------|:------:|-----------|\n|apiMethod|:red_circle:|See below for all supported methods|\n|apiKey   |:red_circle:|API Key obtained in the Settings|\n|apiSecret|:red_circle:|Secret passphrase to sign request|\n|query    |:white_circle:|A comma-separated list of fields to import, decided by the path of the header. Use `rawHeaders` option below to get the path info|\n|parseOptions|:white_circle:|A comma-separated list of these options: `noInherit`, `noTruncate`, `rawHeaders`, `noHeaders`, `noParseNumbers`, `debugLocation`|\n\n**Example:** `=Bittrex('account/getbalances','myApiKey','mySecretKey')`\n\n### apiMethod\n|Method|Status|Description|\n|------|:----:|-----------|\n|public/getmarkets|:heavy_check_mark:|Used to get the open and available trading markets at Bittrex along with other meta data.|\n|public/getcurrencies|:heavy_check_mark:|Used to get all supported currencies at Bittrex along with other meta data.|\n|public/getticker|:x:|Used to get the current tick values for a market.|\n|public/getmarketsummaries|:heavy_check_mark:|Used to get the last 24 hour summary of all active exchanges|\n|public/getmarketsummary|:x:|Used to get the last 24 hour summary of all active exchanges for a given market|\n|public/getorderbook|:x:|Used to get retrieve the orderbook for a given market|\n|public/getmarkethistory|:x:|Used to retrieve the latest trades that have occured for a specific market.|\n|market/getopenorders|:x:|Get all orders that you currently have opened. A specific market can be requested (in development)|\n|account/getbalances|:heavy_check_mark:|Used to retrieve all balances from your account|\n|account/getbalance|:x:|Used to retrieve the balance from your account for a specific currency.|\n|account/getdepositaddress|:x:|Used to retrieve or generate an address for a specific currency. If one does not exist, the call will fail and return ADDRESS_GENERATING until one is available.|\n|account/getorder|:x:|Used to retrieve a single order by uuid.|\n|account/getorderhistory|:heavy_check_mark:|Used to retrieve your order history.|\n|account/getwithdrawalhistory|:heavy_check_mark:|Used to retrieve your withdrawal history.|\n|account/getdeposithistory|:heavy_check_mark:|Used to retrieve your deposit history.|\n\nMethods with :x: required additional parameters which are not supported yet.\nAPI Reference: https://bittrex.com/Home/Api\n\n\n### parseOptions\n|Option|Description|\n|------|-----------|\n|noInherit|Don't inherit values from parent elements|\n|noTruncate|Don't truncate values|\n|rawHeaders|Don't prettify headers|\n|noHeaders|Don't include headers, only the data|\n|noParseNumbers|Don't parse number from string, leave it as it is|\n|debugLocation|Prepend each value with the row \u0026 column it belongs in|\n\n## 2. HitBTC\nOpen a sheet then type following function with all required parameters \n`=HitBTC(apiMethod,apiKey,apiSecret, query, parseOptions)`\n\n|Parameter|Required|Description|\n|---------|:------:|-----------|\n|apiMethod|:red_circle:|See below for all supported methods|\n|apiKey   |:red_circle:|API Key obtained in the Settings|\n|apiSecret|:red_circle:|Secret passphrase to sign request|\n|query    |:white_circle:|A comma-separated list of fields to import, decided by the path of the header. Use `rawHeaders` option below to get the path info|\n|parseOptions|:white_circle:|A comma-separated list of these options: `noInherit`, `noTruncate`, `rawHeaders`, `noHeaders`, `noParseNumbers`, `debugLocation`|\n\n**Example:** `=HitBTC('account/balance','myApiKey','mySecretKey')`\n\n### apiMethod\n|Method|Status|Description|\n|------|:----:|-----------|\n|public/currency|:heavy_check_mark:|Return the actual list of available currencies, tokens, ICO etc.|\n|public/currency/{currency}|:heavy_check_mark:|Return the information of a specific currency.|\n|public/symbol|:heavy_check_mark:|Return the actual list of currency symbols (currency pairs) traded on HitBTC exchange.|\n|public/symbol/{symbol}|:heavy_check_mark:|Return information of a specific symbol|\n|public/ticker|:heavy_check_mark:|Return ticker information|\n|public/ticker/{symbol}|:heavy_check_mark:|Return ticker information of a specific symbol|\n|public/orderbook/{symbol}|:exclamation:|Return an order book which is an electronic list of buy and sell orders for a specific symbol, organized by price level.|\n|public/candles/{symbol}|:exclamation:|Return a candles used for OHLC a specific symbol.|\n|trading/balance|:heavy_check_mark:|Get trading balance all all currencies|\n|order|:heavy_check_mark:|Return array of active orders.|\n|order/{clientOrderId}|:heavy_check_mark:|Return information of a specific order|\n|trading/fee/{symbol}|:heavy_check_mark:|Get personal trading commission rate.|\n|history/order|:exclamation:|Return all order history. All orders older then 24 hours without trades are deleted.|\n|history/trades|:exclamation:|Return all trades history.|\n|history/order/{orderId}/trades|:heavy_check_mark:|Return all trades history for an order|\n|account/balance|:heavy_check_mark:|Get all account balances|\n|account/transactions|:exclamation:|Get all transactions history|\n|account/transactions/{id}|:exclamation:|Get transaction by transaction ID|\n\nMethods with :exclamation: only support default parameters. They will be functional when the script support additional parameters in the function. Check API Reference for default values: https://api.hitbtc.com\n\n## 3. Bitsane\n_In development_\n\n# Roadmap\n - Support API Method parameters\n - Coinbase API\n - GDAX API\n - Bitfinex API\n\n# Donation\n - BTC: 16hDsVgy6VFW2aW8w9z2pogbq5XThToswF\n - ETH: 0x212799fbd9CD3e273E0CB6761b1708B284477e5E\n - LTC: LQtecz6SAbRzJXEfDpNLz8AzkhWKY4qQyv\n - BCH: 13mT5ubjZUKTviGXDSVHxRkrrxDFzzUFd4\n\n# Credits\nThanks to below projects, developing CryptoGAS can be done as fast as possible.\n - [bradjasper/ImportJSON](https://github.com/bradjasper/ImportJSON)\n - [Caligatio/jsSHA](https://github.com/Caligatio/jsSHA/)\n\n# License\nApache 2.0 License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralphilius%2Fcryptogas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fralphilius%2Fcryptogas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralphilius%2Fcryptogas/lists"}