{"id":18841469,"url":"https://github.com/subvisual/money-uphold-bank","last_synced_at":"2025-10-29T00:20:59.309Z","repository":{"id":56884297,"uuid":"61294533","full_name":"subvisual/money-uphold-bank","owner":"subvisual","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-04T11:24:09.000Z","size":13,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-07T22:22:09.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subvisual.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-16T13:13:31.000Z","updated_at":"2024-02-17T18:59:21.000Z","dependencies_parsed_at":"2022-08-20T23:40:33.677Z","dependency_job_id":null,"html_url":"https://github.com/subvisual/money-uphold-bank","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fmoney-uphold-bank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fmoney-uphold-bank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fmoney-uphold-bank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fmoney-uphold-bank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subvisual","download_url":"https://codeload.github.com/subvisual/money-uphold-bank/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223624372,"owners_count":17175195,"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":[],"created_at":"2024-11-08T02:51:29.454Z","updated_at":"2025-10-29T00:20:54.289Z","avatar_url":"https://github.com/subvisual.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Money Uphold Bank\n\n[![Build Status](https://travis-ci.org/subvisual/money-uphold-bank.svg?branch=master)](https://travis-ci.org/subvisual/money-uphold-bank) [![Code Climate](https://codeclimate.com/github/subvisual/money-uphold-bank/badges/gpa.svg)](https://codeclimate.com/github/subvisual/money-uphold-bank)\n\nA gem that calculates the exchange rate using published rates from https://uphold.com\n\nTo be used as an exchange rate provider for the [money gem](https://github.com/RubyMoney/money)\n\n## Uphold API\n\n```json\n[{\n  \"ask\": \"1\",\n  \"bid\": \"1\",\n  \"currency\": \"BTC\",\n  \"pair\": \"BTCBTC\"\n}, {\n  \"ask\": \"440.99\",\n  \"bid\": \"440\",\n  \"currency\": \"USD\",\n  \"pair\": \"BTCUSD\"\n}]\n```\n\nFull description of the ticker endpoint: https://uphold.com/en/developer/api/documentation/#get-all-tickers\nFull Uphold API specification: https://uphold.com/en/developer/api/documentation\n\n## Features\n\n* Calculates exchange rates based on the mid market price, as [specified by Uphold itself](https://support.uphold.com/hc/en-us/articles/203664225-How-does-Uphold-set-its-conversion-rates-)\n* Supports all Uphold currencies, including Bitcoin, Litecoin, and Voxelus\n* Caches API response for a customizable time\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'money-uphold-bank'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install money-uphold-bank\n\n## Usage\n\n```ruby\n# Minimal requirements\nrequire \"money/bank/uphold\"\n\nbank = Money::Bank::Uphold.new\n\n# (optional)\n# Set the number of seconds after which the rates are automatically expired.\n# By default, they expire every hour\nbank.ttl_in_seconds = 3600\n\nMoney.default_bank = bank\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/subvisual/money-uphold-bank. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubvisual%2Fmoney-uphold-bank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubvisual%2Fmoney-uphold-bank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubvisual%2Fmoney-uphold-bank/lists"}