{"id":19866608,"url":"https://github.com/deradon/odds_checker","last_synced_at":"2025-02-28T23:41:11.196Z","repository":{"id":142255564,"uuid":"60461394","full_name":"Deradon/odds_checker","owner":"Deradon","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-29T13:49:09.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T15:48:09.500Z","etag":null,"topics":["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/Deradon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-06-05T13:30:19.000Z","updated_at":"2018-05-29T13:49:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbaa235a-ab34-477f-8d58-901bb9fb4dd0","html_url":"https://github.com/Deradon/odds_checker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deradon%2Fodds_checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deradon%2Fodds_checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deradon%2Fodds_checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deradon%2Fodds_checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deradon","download_url":"https://codeload.github.com/Deradon/odds_checker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241277559,"owners_count":19937763,"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":["ruby"],"created_at":"2024-11-12T15:26:34.361Z","updated_at":"2025-02-28T23:41:11.153Z","avatar_url":"https://github.com/Deradon.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OddsChecker\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'odds_checker'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install odds_checker\n\n## Example\n\n```ruby\nresult = OddsChecker.correct_score team_one: \"russia\",\n                                   team_two: \"saudi-arabia\",\n                                   tournament: \"football/worldcup\"\n\nfirst_bet = result.bets.first\n\nfirst_bet.score\n# =\u003e #\u003cOddsChecker::Score:0x00000002bff570 @team_one_goals=1, @team_two_goals=0\u003e\n\nfirst_bet.probability\n# =\u003e 0.15050833951324663\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/Deradon/odds_checker. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\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%2Fderadon%2Fodds_checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderadon%2Fodds_checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderadon%2Fodds_checker/lists"}