{"id":15685556,"url":"https://github.com/scharrier/qonto-ruby","last_synced_at":"2025-05-07T17:20:34.627Z","repository":{"id":56889791,"uuid":"103865377","full_name":"scharrier/qonto-ruby","owner":"scharrier","description":"Unofficial Qonto Api Ruby client","archived":false,"fork":false,"pushed_at":"2023-12-06T11:36:44.000Z","size":28,"stargazers_count":9,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T16:35:09.424Z","etag":null,"topics":["banking","client","rest-api"],"latest_commit_sha":null,"homepage":"http://qonto.eu","language":"Ruby","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/scharrier.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-17T22:07:57.000Z","updated_at":"2023-12-06T08:51:44.000Z","dependencies_parsed_at":"2024-10-03T17:26:42.433Z","dependency_job_id":"acc8d0bc-f80e-40a9-b13d-22f91eeb511e","html_url":"https://github.com/scharrier/qonto-ruby","commit_stats":{"total_commits":39,"total_committers":3,"mean_commits":13.0,"dds":"0.10256410256410253","last_synced_commit":"2754ca2b8db5929ffba0a1137132506f3a726088"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scharrier%2Fqonto-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scharrier%2Fqonto-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scharrier%2Fqonto-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scharrier%2Fqonto-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scharrier","download_url":"https://codeload.github.com/scharrier/qonto-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252922308,"owners_count":21825641,"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":["banking","client","rest-api"],"created_at":"2024-10-03T17:26:40.067Z","updated_at":"2025-05-07T17:20:34.601Z","avatar_url":"https://github.com/scharrier.png","language":"Ruby","readme":"# Qonto API Ruby Client\n\nThe Qonto API Ruby client provides convenient access to the Qonto API from applications written in Ruby language.\nIt is currently up to date with the `v2` version. Qonto API documentation is avaible at https://api-doc.qonto.eu.\n\nThis project is not affiliated with the Qonto company in any way.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'qonto'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install qonto\n\n## Requirements\n\n* Ruby 2.1+.\n\n## Usage\n\nThe library needs to be configured with your account's secret key and organization\nslug which are available in your organization dashboard on http://qonto.eu.\n\n    require 'qonto'\n\n    # Initialize your client\n    client = Qonto::Client.new(slug: 'your-organization-slug', secret_key: 'your-secret-key')\n\nYou can retrieve your organization bank accounts by calling `get_organization`:\n\n    # Retrieve your organization object\n    organization = client.get_organization\n    bank_account = organization.bank_accounts.first\n\n    # Balance is available for each bank account\n    puts \"Balance: #{bank_account.balance} €\"\n\nYou can list transactions for a given bank account by calling `list_transactions`:\n\n    # Paginate through the pending transactions\n    transactions = client.list_transactions(\n      bank_account: bank_account,\n      per_page: 10,\n      current_page: 2,\n      status: ['pending']\n    )\n\n    transactions.each do |transaction|\n      puts \" #{transaction.side} (#{transaction.status}): #{transaction.amount} #{transaction.currency} - #{transaction.label}\"\n    end\n\nIf a request returns an error, the client raises a `Qonto::Error`. This can be simply\nhandled by a `begin/rescue` block:\n\n    begin\n      organization = client.get_organization\n      puts \"Balance: #{organization.bank_accounts.first.balance} €\"\n    rescue Qonto::Error =\u003e e\n      puts \"Oops: #{e.to_s}\"\n    end\n\n## Development\n\nAfter checking out the repo, run `bundle install` to install dependencies. Then, run `rake spec` to run the tests.\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscharrier%2Fqonto-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscharrier%2Fqonto-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscharrier%2Fqonto-ruby/lists"}