{"id":17163084,"url":"https://github.com/espen/agaon","last_synced_at":"2026-01-19T06:01:33.686Z","repository":{"id":59150488,"uuid":"86510109","full_name":"espen/agaon","owner":"espen","description":"Ruby API wrapper for Fiken","archived":false,"fork":false,"pushed_at":"2017-09-19T23:15:20.000Z","size":9,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-29T16:24:30.849Z","etag":null,"topics":["api-client","api-wrapper","gem","ruby"],"latest_commit_sha":null,"homepage":null,"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/espen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-28T21:44:33.000Z","updated_at":"2020-09-28T10:17:17.000Z","dependencies_parsed_at":"2022-09-13T11:00:26.396Z","dependency_job_id":null,"html_url":"https://github.com/espen/agaon","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/espen/agaon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/espen%2Fagaon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/espen%2Fagaon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/espen%2Fagaon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/espen%2Fagaon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/espen","download_url":"https://codeload.github.com/espen/agaon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/espen%2Fagaon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api-client","api-wrapper","gem","ruby"],"created_at":"2024-10-14T22:47:44.211Z","updated_at":"2026-01-19T06:01:33.661Z","avatar_url":"https://github.com/espen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agaon\n\nRuby API wrapper for Fiken. See https://fiken.no/api/doc/ for information about the API.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'agaon'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install agaon\n\n## Usage\n\n### Authentication\n\n```ruby\nfiken = Agaon::Client.new( username, password )\n```\n\nThis will allow you to only list companies connected to your user account.\n\nTo access data in each company you need to specify a company for the Agaon client.\n\n```ruby\nfiken = Agaon::Client.new( username, password, company_href )\n```\n\n### Endpoints\n\nWho Am I?:\n```ruby\nfiken.who_am_i\n```\nReturn the user based on credentials on the Agaon Client.\n\nCurrent company:\n```ruby\nfiken.current_company\n```\nReturns company based on set company_href on the Agaon Client.\n\n#### Companies\n\nList:\n```ruby\nfiken.companies\n```\n\nGet:\n```ruby\nfiken.get_company(company_href)\n```\n\n#### Accounts, Bank Accounts, Contacts, Products, Invoices, Sales\n\nUsing examples for the contacts endpoint.\n\nList:\n```ruby\nfiken.contacts\n```\nGet:\n```ruby\nfiken.get_contact(contact_href)\n```\nCreate:\n```ruby\nfiken.contact(contact_attributes)\n```\nUpdate:\n```ruby\nfiken.contact(contact_href,contact_attributes)\n```\n\n#### Create Invoice, Document Sending Service, Create General Journal Entry Service, Search\n\nUsing example for the create invoice endpoint.\n\nAction:\n```ruby\nfiken.create_invoice(invoice_attributes)\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/espen/agaon.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fespen%2Fagaon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fespen%2Fagaon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fespen%2Fagaon/lists"}