{"id":15064567,"url":"https://github.com/kapildevpal/fatsecret-lite","last_synced_at":"2026-04-27T18:35:01.081Z","repository":{"id":254454211,"uuid":"846614366","full_name":"KapilDevPal/Fatsecret-Lite","owner":"KapilDevPal","description":"A simple ruby gem A Ruby Gem for FatSecret ","archived":false,"fork":false,"pushed_at":"2024-09-12T10:07:58.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T00:21:16.517Z","etag":null,"topics":["fatsecret","fatsecret-api","ruby","ruby-on-rails","rubygem"],"latest_commit_sha":null,"homepage":"https://medium.com/@rail_to_rescue/scan-product-bar-code-with-fatsecret-a1821ec22e97","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/KapilDevPal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-08-23T15:23:39.000Z","updated_at":"2024-09-12T10:08:02.000Z","dependencies_parsed_at":"2024-09-10T18:46:15.888Z","dependency_job_id":"53072231-311b-4fe3-b355-0dc54ae0ec0d","html_url":"https://github.com/KapilDevPal/Fatsecret-Lite","commit_stats":null,"previous_names":["kapildevpal/fatsecret_lite","kapildevpal/fatsecret-lite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KapilDevPal%2FFatsecret-Lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KapilDevPal%2FFatsecret-Lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KapilDevPal%2FFatsecret-Lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KapilDevPal%2FFatsecret-Lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KapilDevPal","download_url":"https://codeload.github.com/KapilDevPal/Fatsecret-Lite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790999,"owners_count":20348385,"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":["fatsecret","fatsecret-api","ruby","ruby-on-rails","rubygem"],"created_at":"2024-09-25T00:20:37.272Z","updated_at":"2026-01-02T22:39:07.567Z","avatar_url":"https://github.com/KapilDevPal.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Here's the corrected and cleaned-up version of your README file:\n\nmarkdown\nCopy code\n# FatsecretLite\n\n`fatsecret_lite` is a Ruby gem for interacting with the FatSecret API. It provides an easy way to retrieve food details using OAuth2 authentication. The gem is available at: [https://rubygems.org/gems/fatsecret_lite](https://rubygems.org/gems/fatsecret_lite).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'fatsecret_lite'\nAnd then execute:\n\nbash\nCopy code\nbundle install\nOr install it yourself as:\n\nbash\nCopy code\ngem install fatsecret_lite\nUsage\nConfiguration\nBefore using the gem, you need to configure it with your FatSecret API credentials. You can do this in an initializer or before making any API calls.\n\nExample configuration:\n\nruby\nCopy code\nFatsecretLite.configure do |config|\n  config.client_id = 'your_client_id'\n  config.client_secret = 'your_client_secret'\nend\nReplace 'your_client_id' and 'your_client_secret' with your actual FatSecret API credentials.\n\nFetching Food Details\nTo fetch food details by food ID, use the get_food_details method:\n\nruby\nCopy code\nfood_details = FatsecretLite.get_food_details(12345)\nputs food_details\nThis will return the details for the food item with the specified ID in a JSON format.\n\nDevelopment\nAfter checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run:\n\nbash\nCopy code\nbundle exec rake install\nTo release a new version, update the version number in lib/fatsecret_lite/version.rb, and then run:\n\nbash\nCopy code\nbundle exec rake release\nThis will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.\n\nContributing\nBug reports and pull requests are welcome on GitHub at https://github.com/KapilDevPal/fatsecret_lite. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.\n\nLicense\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\nCode of Conduct\nEveryone interacting in the FatsecretLite project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the code of conduct.\n\nmarkdown\nCopy code\n\n### Key Changes:\n1. Fixed formatting and indentation issues.\n2. Added missing headings and clear sections.\n3. Corrected URLs to GitHub and Rubygems links.\n4. Adjusted code blocks for proper syntax highlighting.\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkapildevpal%2Ffatsecret-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkapildevpal%2Ffatsecret-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkapildevpal%2Ffatsecret-lite/lists"}