{"id":19658443,"url":"https://github.com/iphytech/btc_calculator","last_synced_at":"2026-06-12T19:33:02.510Z","repository":{"id":39203027,"uuid":"246109951","full_name":"Iphytech/btc_calculator","owner":"Iphytech","description":"A simple BTC to NGN calculator  built with ruby and graphql.","archived":false,"fork":false,"pushed_at":"2023-01-19T17:49:08.000Z","size":1250,"stargazers_count":1,"open_issues_count":33,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T02:35:00.716Z","etag":null,"topics":["btc","gr","ngn","ru","ruby"],"latest_commit_sha":null,"homepage":"https://btc-simply.herokuapp.com/graphiql","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/Iphytech.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":"2020-03-09T18:18:17.000Z","updated_at":"2022-02-12T09:47:24.000Z","dependencies_parsed_at":"2023-02-03T23:00:38.630Z","dependency_job_id":null,"html_url":"https://github.com/Iphytech/btc_calculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Iphytech/btc_calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iphytech%2Fbtc_calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iphytech%2Fbtc_calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iphytech%2Fbtc_calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iphytech%2Fbtc_calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Iphytech","download_url":"https://codeload.github.com/Iphytech/btc_calculator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iphytech%2Fbtc_calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34260309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":["btc","gr","ngn","ru","ruby"],"created_at":"2024-11-11T15:37:36.542Z","updated_at":"2026-06-12T19:33:02.437Z","avatar_url":"https://github.com/Iphytech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to use\n\nClone the repo `https://github.com/Iphytech/btc_calculator.git` to your computer\n\nchange to the project directory\n\nNB: There is no database (because we ain't going to make use of it).\n\ngo to the terminal and run `bundle or bundle install`\n\nWe are making use of `Net::HTTP ` for the restful api calls - Read more about it here (https://apidock.com/ruby/Net/HTTP)\n\nAnd we are consuming data from `Coindesk APi endpoint`\n\nStart the project and test what we have built\n\n```bash\n\nrails s or rails server\n\n``` \n\nThen open your browser and type `http://localhost:3000/graphiql` \n\nsample request\n\n```bash {\n  calculatePrice(\n    type: \"sell\"\n    margin: 0.1\n    exchangeRate: 370.0\n  ) {\n    price\n  }\n} \n\n``` \n\nsample response \n\n```bash\n{\n  \"data\": {\n    \"calculatePrice\": {\n      \"price\": 2937074.4355499996\n    }\n  }\n} \n```\n\nNB:   If you encounter this error message when serving the app `Your Yarn packages are out of date!`\n\nPlease run `yarn install --check-files` to update.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiphytech%2Fbtc_calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiphytech%2Fbtc_calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiphytech%2Fbtc_calculator/lists"}