Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

firefly-iii-client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firefly-iii-client

  • 1.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

openapi_client

FireflyIIIClient - the Ruby gem for the Firefly III API

This is the official documentation of the Firefly III API. You can find accompanying documentation on the website of Firefly III itself (see below). Please report any bugs or issues. This version of the API is live from version v4.7.9 and onwards. You may use the "Authorize" button to try the API below.

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 0.10.4-modified
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://firefly-iii.org

Installation

Build a gem

To build the Ruby code into a gem:

gem build firefly-iii-client.gemspec

Then either install the gem locally:

gem install ./firefly_iii_client-1.0.0.gem

(for development, run gem install --dev ./openapi_client-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'openapi_client', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'openapi_client', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'firefly_iii_client'

# Setup authorization
FireflyIIIClient.configure do |config|
  # Configure OAuth2 access token for authorization: firefly_iii_auth
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = FireflyIIIClient::AboutApi.new

begin
  #System information end point.
  result = api_instance.get_about
  p result
rescue FireflyIIIClient::ApiError => e
  puts "Exception when calling AboutApi->get_about: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://demo.firefly-iii.org

ClassMethodHTTP requestDescription
FireflyIIIClient::AboutApiget_aboutGET /api/v1/aboutSystem information end point.
FireflyIIIClient::AboutApiget_current_userGET /api/v1/about/userCurrently authenticated user endpoint.
FireflyIIIClient::AccountsApidelete_accountDELETE /api/v1/accounts/{id}Permanently delete account.
FireflyIIIClient::AccountsApiget_accountGET /api/v1/accounts/{id}Get single account.
FireflyIIIClient::AccountsApilist_accountGET /api/v1/accountsList all accounts.
FireflyIIIClient::AccountsApilist_piggy_bank_by_accountGET /api/v1/accounts/{id}/piggy_banksList all piggy banks related to the account.
FireflyIIIClient::AccountsApilist_transaction_by_accountGET /api/v1/accounts/{id}/transactionsList all transactions related to the account.
FireflyIIIClient::AccountsApistore_accountPOST /api/v1/accountsCreate new account.
FireflyIIIClient::AccountsApiupdate_accountPUT /api/v1/accounts/{id}Update existing account.
FireflyIIIClient::AttachmentsApidelete_attachmentDELETE /api/v1/attachments/{id}Delete an attachment.
FireflyIIIClient::AttachmentsApidownload_attachmentGET /api/v1/attachments/{id}/downloadDownload a single attachment.
FireflyIIIClient::AttachmentsApiget_attachmentGET /api/v1/attachments/{id}Get a single attachment.
FireflyIIIClient::AttachmentsApilist_attachmentGET /api/v1/attachmentsList all attachments.
FireflyIIIClient::AttachmentsApistore_attachmentPOST /api/v1/attachmentsStore a new attachment.
FireflyIIIClient::AttachmentsApiupdate_attachmentPUT /api/v1/attachments/{id}Update existing attachment.
FireflyIIIClient::AttachmentsApiupload_attachmentPOST /api/v1/attachments/{id}/uploadUpload an attachment.
FireflyIIIClient::AvailableBudgetsApidelete_available_budgetDELETE /api/v1/available_budgets/{id}Delete an available budget.
FireflyIIIClient::AvailableBudgetsApiget_available_budgetGET /api/v1/available_budgets/{id}Get a single available budget.
FireflyIIIClient::AvailableBudgetsApilist_available_budgetGET /api/v1/available_budgetsList all available budget amounts.
FireflyIIIClient::AvailableBudgetsApistore_available_budgetPOST /api/v1/available_budgetsStore a new available budget
FireflyIIIClient::AvailableBudgetsApiupdate_available_budgetPUT /api/v1/available_budgets/{id}Update existing available budget, to change for example the date range of the amount or the amount itself.
FireflyIIIClient::BillsApidelete_billDELETE /api/v1/bills/{id}Delete a bill.
FireflyIIIClient::BillsApiget_billGET /api/v1/bills/{id}Get a single bill.
FireflyIIIClient::BillsApilist_attachment_by_billGET /api/v1/bills/{id}/attachmentsList all attachments uploaded to the bill.
FireflyIIIClient::BillsApilist_billGET /api/v1/billsList all bills.
FireflyIIIClient::BillsApilist_rule_by_billGET /api/v1/bills/{id}/rulesList all rules associated with the bill.
FireflyIIIClient::BillsApilist_transaction_by_billGET /api/v1/bills/{id}/transactionsList all transactions associated with the bill.
FireflyIIIClient::BillsApistore_billPOST /api/v1/billsStore a new bill
FireflyIIIClient::BillsApiupdate_billPUT /api/v1/bills/{id}Update existing bill.
FireflyIIIClient::BudgetsApidelete_budgetDELETE /api/v1/budgets/{id}Delete a budget.
FireflyIIIClient::BudgetsApidelete_budget_limitDELETE /api/v1/budgets/limits/{id}Delete a budget limit.
FireflyIIIClient::BudgetsApiget_budgetGET /api/v1/budgets/{id}Get a single budget.
FireflyIIIClient::BudgetsApiget_budget_limitGET /api/v1/budgets/limits/{id}Get single budget limit.
FireflyIIIClient::BudgetsApilist_budgetGET /api/v1/budgetsList all budgets.
FireflyIIIClient::BudgetsApilist_budget_limit_by_budgetGET /api/v1/budgets/{id}/limitsGet all limits
FireflyIIIClient::BudgetsApilist_transaction_by_budgetGET /api/v1/budgets/{id}/transactionsAll transactions to a budget.
FireflyIIIClient::BudgetsApilist_transaction_by_budget_limitGET /api/v1/budgets/limits/{id}/transactionsList all transactions by a budget limit ID.
FireflyIIIClient::BudgetsApistore_budgetPOST /api/v1/budgetsStore a new budget
FireflyIIIClient::BudgetsApistore_budget_limitPOST /api/v1/budgets/{id}/limitsStore new budget limit.
FireflyIIIClient::BudgetsApiupdate_budgetPUT /api/v1/budgets/{id}Update existing budget.
FireflyIIIClient::BudgetsApiupdate_budget_limitPUT /api/v1/budgets/limits/{id}Update existing budget limit.
FireflyIIIClient::CategoriesApidelete_categoryDELETE /api/v1/categories/{id}Delete a category.
FireflyIIIClient::CategoriesApiget_categoryGET /api/v1/categories/{id}Get a single category.
FireflyIIIClient::CategoriesApilist_categoryGET /api/v1/categoriesList all categories.
FireflyIIIClient::CategoriesApilist_transaction_by_categoryGET /api/v1/categories/{id}/transactionsList all transactions in a category.
FireflyIIIClient::CategoriesApistore_categoryPOST /api/v1/categoriesStore a new category
FireflyIIIClient::CategoriesApiupdate_categoryPUT /api/v1/categories/{id}Update existing category.
FireflyIIIClient::ChartsApiget_chart_ab_overviewGET /api/v1/chart/ab/overview/{id}Dashboard chart with an overview of the available budget.
FireflyIIIClient::ChartsApiget_chart_account_expenseGET /api/v1/chart/account/expenseDashboard chart with expense account balance information.
FireflyIIIClient::ChartsApiget_chart_account_overviewGET /api/v1/chart/account/overviewDashboard chart with asset account balance information.
FireflyIIIClient::ChartsApiget_chart_account_revenueGET /api/v1/chart/account/revenueDashboard chart with revenue account balance information.
FireflyIIIClient::ChartsApiget_chart_category_overviewGET /api/v1/chart/category/overviewDashboard chart with an overview of the users categories.
FireflyIIIClient::ConfigurationApiget_configurationGET /api/v1/configurationGet Firefly III system configuration.
FireflyIIIClient::ConfigurationApiset_configurationPOST /api/v1/configuration/{name}Update configuration
FireflyIIIClient::CurrenciesApidefault_currencyPOST /api/v1/currencies/{code}/defaultMake currency default currency.
FireflyIIIClient::CurrenciesApidelete_currencyDELETE /api/v1/currencies/{code}Delete a currency.
FireflyIIIClient::CurrenciesApidisable_currencyPOST /api/v1/currencies/{code}/disableDisable a currency.
FireflyIIIClient::CurrenciesApienable_currencyPOST /api/v1/currencies/{code}/enableEnable a single currency.
FireflyIIIClient::CurrenciesApiget_currencyGET /api/v1/currencies/{code}Get a single currency.
FireflyIIIClient::CurrenciesApilist_account_by_currencyGET /api/v1/currencies/{code}/accountsList all accounts with this currency.
FireflyIIIClient::CurrenciesApilist_available_budget_by_currencyGET /api/v1/currencies/{code}/available_budgetsList all available budgets with this currency.
FireflyIIIClient::CurrenciesApilist_bill_by_currencyGET /api/v1/currencies/{code}/billsList all bills with this currency.
FireflyIIIClient::CurrenciesApilist_budget_limit_by_currencyGET /api/v1/currencies/{code}/budget_limitsList all budget limits with this currency
FireflyIIIClient::CurrenciesApilist_currencyGET /api/v1/currenciesList all currencies.
FireflyIIIClient::CurrenciesApilist_exchange_rate_by_currencyGET /api/v1/currencies/{code}/cerList all known exchange rates with (from or to) this currency.
FireflyIIIClient::CurrenciesApilist_recurrence_by_currencyGET /api/v1/currencies/{code}/recurrencesList all recurring transactions with this currency.
FireflyIIIClient::CurrenciesApilist_rule_by_currencyGET /api/v1/currencies/{code}/rulesList all rules with this currency.
FireflyIIIClient::CurrenciesApilist_transaction_by_currencyGET /api/v1/currencies/{code}/transactionsList all transactions with this currency.
FireflyIIIClient::CurrenciesApistore_currencyPOST /api/v1/currenciesStore a new currency
FireflyIIIClient::CurrenciesApiupdate_currencyPUT /api/v1/currencies/{code}Update existing currency.
FireflyIIIClient::CurrencyExchangeRatesApiget_exchange_rateGET /api/v1/cerGet an exchange rate.
FireflyIIIClient::ImportApiget_importGET /api/v1/import/{key}Show info on a single import
FireflyIIIClient::ImportApilist_importGET /api/v1/import/listList al imports
FireflyIIIClient::ImportApilist_transaction_by_importGET /api/v1/import/{key}/transactionsList all transactions related to the import job. The correlation is made through the tag.
FireflyIIIClient::LinksApidelete_link_typeDELETE /api/v1/link_types/{id}Permanently delete link type.
FireflyIIIClient::LinksApidelete_transaction_linkDELETE /api/v1/transaction_links/{id}Permanently delete link between transactions.
FireflyIIIClient::LinksApiget_link_typeGET /api/v1/link_types/{id}Get single a link type.
FireflyIIIClient::LinksApiget_transaction_linkGET /api/v1/transaction_links/{id}Get a single link.
FireflyIIIClient::LinksApilist_link_typeGET /api/v1/link_typesList all types of links.
FireflyIIIClient::LinksApilist_transaction_by_link_typeGET /api/v1/link_types/{id}/transactionsList all transactions under this link type.
FireflyIIIClient::LinksApilist_transaction_linkGET /api/v1/transaction_linksList all transaction links.
FireflyIIIClient::LinksApistore_link_typePOST /api/v1/link_typesCreate a new link type
FireflyIIIClient::LinksApistore_transaction_linkPOST /api/v1/transaction_linksCreate a new link between transactions
FireflyIIIClient::LinksApiupdate_link_typePUT /api/v1/link_types/{id}Update existing link type.
FireflyIIIClient::LinksApiupdate_transaction_linkPUT /api/v1/transaction_links/{id}Update an existing link between transactions.
FireflyIIIClient::PiggyBanksApidelete_piggy_bankDELETE /api/v1/piggy_banks/{id}Delete a piggy bank.
FireflyIIIClient::PiggyBanksApiget_piggy_bankGET /api/v1/piggy_banks/{id}Get a single piggy bank.
FireflyIIIClient::PiggyBanksApilist_event_by_piggy_bankGET /api/v1/piggy_banks/{id}/eventsList all events linked to a piggy bank.
FireflyIIIClient::PiggyBanksApilist_piggy_bankGET /api/v1/piggy_banksList all piggy banks.
FireflyIIIClient::PiggyBanksApistore_piggy_bankPOST /api/v1/piggy_banksStore a new piggy bank
FireflyIIIClient::PiggyBanksApiupdate_piggy_bankPUT /api/v1/piggy_banks/{id}Update existing piggy bank.
FireflyIIIClient::PreferencesApiget_preferenceGET /api/v1/preferences/{name}Return a single preference.
FireflyIIIClient::PreferencesApilist_preferenceGET /api/v1/preferencesList all users preferences.
FireflyIIIClient::PreferencesApiupdate_preferencePUT /api/v1/preferences/{name}Update preference
FireflyIIIClient::RecurrencesApidelete_recurrenceDELETE /api/v1/recurrences/{id}Delete a recurring transaction.
FireflyIIIClient::RecurrencesApiget_recurrenceGET /api/v1/recurrences/{id}Get a single recurring transaction.
FireflyIIIClient::RecurrencesApilist_recurrenceGET /api/v1/recurrencesList all recurring transactions.
FireflyIIIClient::RecurrencesApilist_transaction_by_recurrenceGET /api/v1/recurrences/{id}/transactionsList all transactions created by a recurring transaction.
FireflyIIIClient::RecurrencesApistore_recurrencePOST /api/v1/recurrencesStore a new recurring transaction
FireflyIIIClient::RecurrencesApitrigger_recurrencePOST /api/v1/recurrences/triggerTrigger the creation of recurring transactions (like a cron job).
FireflyIIIClient::RecurrencesApiupdate_recurrencePUT /api/v1/recurrences/{id}Update existing recurring transaction.
FireflyIIIClient::RuleGroupsApidelete_rule_groupDELETE /api/v1/rule_groups/{id}Delete a rule group.
FireflyIIIClient::RuleGroupsApifire_rule_groupPOST /api/v1/rule_groups/{id}/triggerFire the rule group on your transactions.
FireflyIIIClient::RuleGroupsApiget_rule_groupGET /api/v1/rule_groups/{id}Get a single rule group.
FireflyIIIClient::RuleGroupsApilist_rule_by_groupGET /api/v1/rule_groups/{id}/rulesList rules in this rule group.
FireflyIIIClient::RuleGroupsApilist_rule_groupGET /api/v1/rule_groupsList all rule groups.
FireflyIIIClient::RuleGroupsApistore_rule_groupPOST /api/v1/rule_groupsStore a new rule group.
FireflyIIIClient::RuleGroupsApitest_rule_groupGET /api/v1/rule_groups/{id}/testTest which transactions would be hit by the rule group. No changes will be made.
FireflyIIIClient::RuleGroupsApiupdate_rule_groupPUT /api/v1/rule_groups/{id}Update existing rule group.
FireflyIIIClient::RulesApidelete_ruleDELETE /api/v1/rules/{id}Delete an rule.
FireflyIIIClient::RulesApifire_rulePOST /api/v1/rules/{id}/triggerFire the rule on your transactions.
FireflyIIIClient::RulesApiget_ruleGET /api/v1/rules/{id}Get a single rule.
FireflyIIIClient::RulesApilist_ruleGET /api/v1/rulesList all rules.
FireflyIIIClient::RulesApistore_rulePOST /api/v1/rulesStore a new rule
FireflyIIIClient::RulesApitest_ruleGET /api/v1/rules/{id}/testTest which transactions would be hit by the rule. No changes will be made.
FireflyIIIClient::RulesApiupdate_rulePUT /api/v1/rules/{id}Update existing rule.
FireflyIIIClient::SummaryApiget_basic_summaryGET /api/v1/summary/basicReturns basic sums of the users data.
FireflyIIIClient::TagsApidelete_tagDELETE /api/v1/tags/{tag}Delete an tag.
FireflyIIIClient::TagsApiget_tagGET /api/v1/tags/{tag}Get a single tag.
FireflyIIIClient::TagsApiget_tag_cloudGET /api/v1/tag-cloudReturns a basic tag cloud.
FireflyIIIClient::TagsApilist_tagGET /api/v1/tagsList all tags.
FireflyIIIClient::TagsApilist_transaction_by_tagGET /api/v1/tags/{tag}/transactionsList all transactions with this tag.
FireflyIIIClient::TagsApistore_tagPOST /api/v1/tagsStore a new tag
FireflyIIIClient::TagsApiupdate_tagPUT /api/v1/tags/{tag}Update existing tag.
FireflyIIIClient::TransactionsApidelete_transactionDELETE /api/v1/transactions/{id}Delete a transaction.
FireflyIIIClient::TransactionsApiget_transactionGET /api/v1/transactions/{id}Get a single transaction.
FireflyIIIClient::TransactionsApiget_transaction_by_journalGET /api/v1/transaction-journals/{id}Get a single transaction, based on one of the underlying transaction journals.
FireflyIIIClient::TransactionsApilist_attachment_by_transactionGET /api/v1/transactions/{id}/attachmentsLists all attachments.
FireflyIIIClient::TransactionsApilist_event_by_transactionGET /api/v1/transactions/{id}/piggy_bank_eventsLists all piggy bank events.
FireflyIIIClient::TransactionsApilist_transactionGET /api/v1/transactionsList all the user's transactions.
FireflyIIIClient::TransactionsApistore_transactionPOST /api/v1/transactionsStore a new transaction
FireflyIIIClient::TransactionsApiupdate_transactionPUT /api/v1/transactions/{id}Update existing transaction.
FireflyIIIClient::UsersApidelete_userDELETE /api/v1/users/{id}Delete a user.
FireflyIIIClient::UsersApiget_userGET /api/v1/users/{id}Get a single user.
FireflyIIIClient::UsersApilist_userGET /api/v1/usersList all users.
FireflyIIIClient::UsersApistore_userPOST /api/v1/usersStore a new user
FireflyIIIClient::UsersApiupdate_userPUT /api/v1/users/{id}Update an existing user's information.

Documentation for Models

Documentation for Authorization

firefly_iii_auth

FAQs

Package last updated on 10 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc