{"id":19338086,"url":"https://github.com/freerange/freeagent-scripts","last_synced_at":"2026-06-08T23:31:14.607Z","repository":{"id":14461261,"uuid":"76472590","full_name":"freerange/freeagent-scripts","owner":"freerange","description":"Command-line scripts to be run against v2 of the FreeAgent API","archived":false,"fork":false,"pushed_at":"2023-03-16T07:09:05.000Z","size":37,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-15T00:45:33.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/freerange.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}},"created_at":"2016-12-14T15:35:13.000Z","updated_at":"2021-06-04T11:23:13.000Z","dependencies_parsed_at":"2024-03-20T15:46:40.465Z","dependency_job_id":null,"html_url":"https://github.com/freerange/freeagent-scripts","commit_stats":{"total_commits":33,"total_committers":3,"mean_commits":11.0,"dds":0.09090909090909094,"last_synced_commit":"73621eabd8d2190b602a4e6b2401a10a9f095a6f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/freerange/freeagent-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Ffreeagent-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Ffreeagent-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Ffreeagent-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Ffreeagent-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freerange","download_url":"https://codeload.github.com/freerange/freeagent-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerange%2Ffreeagent-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34085321,"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-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-10T03:16:18.307Z","updated_at":"2026-06-08T23:31:14.590Z","avatar_url":"https://github.com/freerange.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## FreeAgent Scripts\n\nRuby scripts for querying/modifying the data in a FreeAgent account.\n\n### Configuration\n\n* Scripts in this project are intended to be run on your local machine.\n* So you need to create a `.env` file in the project root directory:\n\n```\nCLIENT_ID=\u003cOAuth-client-ID\u003e\nCLIENT_SECRET=\u003cOAuth-client-secret\u003e\n```\n\n* You should be able to set these environment variables using the values stored in the secure note named \"FreeAgent API - Go Free Range app\" in the shared 1Password vault.\n* These values refer to the \"Go Free Range\" app (visit \"App URL\" in the secure note for more details).\n* The first time you run one of the scripts, it will ask you to sign in to FreeAgent in a browser and authorize the application.\n* The details of the access token thus obtained are saved to a file, `access-token.json`.\n* The access token is usually valid for 1 hour. If you run one of the scripts within this time, you won't need to sign in again.\n* Also the access token has a refresh token which is valid for a longer period. If the access token has expired it will automatically be refreshed, so you still won't need to sign in.\n* If the refresh token has expired, you'll need to delete the `access-token.json` file, run the script again and sign in again.\n* You can see the apps authorized by the currently logged in user via the FreeAgent settings: https://freerange.freeagent.com/settings/authorized_apps.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreerange%2Ffreeagent-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreerange%2Ffreeagent-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreerange%2Ffreeagent-scripts/lists"}