{"id":22295545,"url":"https://github.com/satoryu/google_suggest","last_synced_at":"2025-07-29T01:32:16.694Z","repository":{"id":1502151,"uuid":"1756280","full_name":"satoryu/google_suggest","owner":"satoryu","description":"A gem which allows us to retrieve suggest words from Google in your Ruby Code. ","archived":false,"fork":false,"pushed_at":"2023-01-23T15:11:53.000Z","size":77,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-02T00:19:26.927Z","etag":null,"topics":["google-suggestions","hacktoberfest","ruby","rubygem"],"latest_commit_sha":null,"homepage":"","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/satoryu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"satoryu","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2011-05-16T16:33:04.000Z","updated_at":"2021-12-26T15:05:36.000Z","dependencies_parsed_at":"2023-02-13T00:16:10.460Z","dependency_job_id":null,"html_url":"https://github.com/satoryu/google_suggest","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fgoogle_suggest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fgoogle_suggest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fgoogle_suggest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fgoogle_suggest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/satoryu","download_url":"https://codeload.github.com/satoryu/google_suggest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227966754,"owners_count":17848660,"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":["google-suggestions","hacktoberfest","ruby","rubygem"],"created_at":"2024-12-03T17:42:27.870Z","updated_at":"2024-12-03T17:42:28.606Z","avatar_url":"https://github.com/satoryu.png","language":"Ruby","funding_links":["https://github.com/sponsors/satoryu"],"categories":[],"sub_categories":[],"readme":"# GoogleSuggest\n\n[![Gem Version](https://badge.fury.io/rb/google_suggest.svg)](https://badge.fury.io/rb/google_suggest)\n[![CI](https://github.com/satoryu/google_suggest/workflows/CI/badge.svg)](https://github.com/satoryu/google_suggest/actions?query=workflow%3ACI)\n[![Test Coverage](https://codeclimate.com/github/satoryu/google_suggest/badges/coverage.svg)](https://codeclimate.com/github/satoryu/google_suggest/coverage)\n\nThis gem allows you to access google suggest API in your ruby codes.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'google_suggest'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install google_suggest\n\n## Usage\n\n`GoogleSuggest.suggest_for` gives suggestions for a given keyword.\n\n```ruby\nGoogleSuggest.suggest_for 'google'\n=\u003e [\"google\", \"google maps\", \"google translate\", \"google classroom\", \"google docs\", \"google drive\", \"google earth\", \"google play\", \"google scholar\", \"google slides\"]\n```\n\nand allows developers to switch the endpoint by specifying `region` option:\n\n```ruby\nGoogleSuggest.suggest_for 'google', region: 'jp'\n=\u003e [\"google\", \"google maps\", \"google drive\", \"google translate\", \"google scholar\", \"google docs\", \"google flights\", \"google news\", \"google play\", \"google earth\"]\n```\n\nYou can get all available region codes by `GoogleSuggest::Region.codes`.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` 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/satoryu/google_suggest. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](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%2Fsatoryu%2Fgoogle_suggest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatoryu%2Fgoogle_suggest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatoryu%2Fgoogle_suggest/lists"}