{"id":15286050,"url":"https://github.com/alexanderadam/fitnesspark_api","last_synced_at":"2025-04-13T03:07:51.101Z","repository":{"id":48054728,"uuid":"307357441","full_name":"alexanderadam/fitnesspark_api","owner":"alexanderadam","description":"API access for Migros Fitnessparks","archived":false,"fork":false,"pushed_at":"2024-08-01T23:45:16.000Z","size":263,"stargazers_count":4,"open_issues_count":3,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-13T03:07:43.786Z","etag":null,"topics":["api","api-client","fitness","fitness-club","hacktoberfest","migros","openapi","ruby","ruby-gem","rubygem","rubygems","swiss","switzerland","transparency","visitor-counter","visitor-tracking","visitors","visitors-count"],"latest_commit_sha":null,"homepage":"https://www.fitnesspark.ch/","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/alexanderadam.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":"2020-10-26T11:58:34.000Z","updated_at":"2023-12-27T19:33:06.000Z","dependencies_parsed_at":"2024-09-30T15:20:36.722Z","dependency_job_id":null,"html_url":"https://github.com/alexanderadam/fitnesspark_api","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"da8d117c3a0d6f3a80947e04520d98d740a6f0b1"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderadam%2Ffitnesspark_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderadam%2Ffitnesspark_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderadam%2Ffitnesspark_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexanderadam%2Ffitnesspark_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexanderadam","download_url":"https://codeload.github.com/alexanderadam/fitnesspark_api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657918,"owners_count":21140846,"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":["api","api-client","fitness","fitness-club","hacktoberfest","migros","openapi","ruby","ruby-gem","rubygem","rubygems","swiss","switzerland","transparency","visitor-counter","visitor-tracking","visitors","visitors-count"],"created_at":"2024-09-30T15:10:16.943Z","updated_at":"2025-04-13T03:07:51.072Z","avatar_url":"https://github.com/alexanderadam.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FitnessparkApi\n\nYou can use this Gem to get data from the [Fitnesspark API](https://www.fitnesspark.ch/).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'fitnesspark_api'\n```\n\nAnd then execute:\n\n```bash\n$ bundle install\n```\n\nOr install it yourself as:\n\n```bash\n$ gem install fitnesspark_api\n```\n\n## Usage\n\n\n```ruby\nrequire 'fitnesspark_api'\n\nFitnessparkApi.stores # returns a hash with base data of all centers\n# =\u003e {\"stores\"=\u003e[{\"localized_slugs\"=\u003e{\"de\"=\u003e\"activ-fitness-acacias\", \"it\"…\n\nFitnessparkApi.store('fitnesspark-eichstaette') # returns a hash with detailed data of a center\n# =\u003e {\"markets\"=\u003e[{\"closing_date\"=\u003enil, \"media\"=\u003e…\n\nFitnessparkApi.visitors('fitnesspark-eichstaette') # returns a hash with visitor data\n# =\u003e {\"centerId\"=\u003e12, \"centerIdTac\"=\u003e45, \"currentVisitors\"=\u003e169, \"maxVisitors\"=\u003e300}\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. 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 `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/alexanderadam/fitnesspark_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/alexanderadam/fitnesspark_api/blob/master/CODE_OF_CONDUCT.md).\n\n\n## Code of Conduct\n\nEveryone interacting in the FitnessparkApi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/alexanderadam/fitnesspark_api/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexanderadam%2Ffitnesspark_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexanderadam%2Ffitnesspark_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexanderadam%2Ffitnesspark_api/lists"}