{"id":32620145,"url":"https://github.com/leanpanda-com/freckle-io","last_synced_at":"2026-07-02T12:32:44.984Z","repository":{"id":56847675,"uuid":"146409235","full_name":"leanpanda-com/freckle-io","owner":"leanpanda-com","description":"Yet another Ruby client for the Freckle API","archived":false,"fork":false,"pushed_at":"2023-01-13T10:02:44.000Z","size":610,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T07:29:37.809Z","etag":null,"topics":["letsfreckle","ruby","ruby-gem"],"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/leanpanda-com.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":"2018-08-28T07:30:15.000Z","updated_at":"2023-01-15T10:34:19.000Z","dependencies_parsed_at":"2023-02-09T15:15:50.733Z","dependency_job_id":null,"html_url":"https://github.com/leanpanda-com/freckle-io","commit_stats":null,"previous_names":["sirion1987/freckle-io"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leanpanda-com/freckle-io","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanpanda-com%2Ffreckle-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanpanda-com%2Ffreckle-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanpanda-com%2Ffreckle-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanpanda-com%2Ffreckle-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leanpanda-com","download_url":"https://codeload.github.com/leanpanda-com/freckle-io/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leanpanda-com%2Ffreckle-io/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35048062,"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-07-02T02:00:06.368Z","response_time":173,"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":["letsfreckle","ruby","ruby-gem"],"created_at":"2025-10-30T18:03:25.428Z","updated_at":"2026-07-02T12:32:44.978Z","avatar_url":"https://github.com/leanpanda-com.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# freckle-io\n\n[![Build Status](https://travis-ci.com/sirion1987/freckle-io.svg?branch=master)](https://travis-ci.com/sirion1987/freckle-io)\n[![Maintainability](https://api.codeclimate.com/v1/badges/051732f42b5e59d60a5a/maintainability)](https://codeclimate.com/github/sirion1987/Freckle-io/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/051732f42b5e59d60a5a/test_coverage)](https://codeclimate.com/github/sirion1987/Freckle-io/test_coverage)\n\nYet another Ruby client for the Freckle API\n\n# Usage\n\n1. Configure `.env` file. You must define the `FRECKLE_TOKEN` environment\nvariable with your Freckle API token.\n\nE.g.\n\n```\nFRECKLE_TOKEN=123921387213987132987\n```\n\n2. Configure client with:\n\n```ruby\nFreckleIO.configure do |c|\n  c.token = ENV[\"FRECKLE_TOKEN\"]\n  c.url = ENV[\"FRECKLE_URL\"]\n  c.auth_type = :freckle_token\n  c.per_page = 20\n  c.max_concurrency = 5\nend\n```\n\nYou can set:\n\n1. `FRECKLE_URL`: the URL of the Freckle API. The default value\n   is `https://api.letsfreckle.com/v2`.\n2. `auth_type`: the authentication type which will use with the server.\n   Currently, the only allowed values is:\n   * `:freckle_token`: uses your Freckle API token.\n3. `per_page`: the number of items included for each page. The default\n   value is 30.\n4. `max_concurrency`: max thread for each requests.\n\n## Example\n\n```ruby\nrequire 'dotenv'\nrequire 'freckle-io'\n\nFreckleIO.configure do |c|\n  c.token = ENV[\"FRECKLE_TOKEN\"]\n  c.auth_type = :freckle_token\n  c.max_concurrency = 5\nend\n\nclient_users = FreckleIO::Client::Users.new.all\n\nclient_users.last_responses.each do |resp|\n  resp.body\nend\n```\n\n# Testing\n\nThe test suite uses the [VCR](https://github.com/vcr/vcr) gem.\n\nThe contents of the cassettes is anonymized (see spec/spec_helper.rb).\n\n## Regenerating the VCR cassettes\n\nOccasionally, it is a good idea to regenerate the cassettes in order to\ndo an end-to-end test.\n\nMake sure you have correctly set the `.env.test` file. Inside this file\nyou must specify the keys:\n\n* `FRECKLE_TOKEN`: your Freckle API token;\n* `FRECKLE_URL`: Freckle API url;\n* `REAL_FRECKLE_USER_ID`: a real user id.\n\n```shell\n$ rm -rf spec/fixtures/vcr_cassettes/*\n$ bundle\n$ bundle exec rspec\n```\n\n# Compatibility\n\nThis client is set for work with the version 2 (v2) of the Freckle API.\n\n# Supported Ruby Versions\n\nThis library is tested against the following Ruby implementations:\n\n* Ruby 2.4\n* Ruby 2.5\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanpanda-com%2Ffreckle-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleanpanda-com%2Ffreckle-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleanpanda-com%2Ffreckle-io/lists"}