{"id":15441716,"url":"https://github.com/mudler/www--google--autosuggest","last_synced_at":"2025-03-28T07:12:10.695Z","repository":{"id":14954744,"uuid":"17679436","full_name":"mudler/WWW--Google--AutoSuggest","owner":"mudler","description":"WWW::Google::AutoSuggest is a perl module that allows you to use Google Suggest in a quick and easy way and returning it as JSON for further inspection","archived":false,"fork":false,"pushed_at":"2014-07-23T09:20:53.000Z","size":228,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T07:43:27.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"frodoking/App-Architecture","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mudler.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-12T18:58:09.000Z","updated_at":"2024-01-02T22:20:07.000Z","dependencies_parsed_at":"2022-07-13T03:40:33.805Z","dependency_job_id":null,"html_url":"https://github.com/mudler/WWW--Google--AutoSuggest","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2FWWW--Google--AutoSuggest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2FWWW--Google--AutoSuggest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2FWWW--Google--AutoSuggest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2FWWW--Google--AutoSuggest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudler","download_url":"https://codeload.github.com/mudler/WWW--Google--AutoSuggest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245984589,"owners_count":20704798,"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":[],"created_at":"2024-10-01T19:22:25.667Z","updated_at":"2025-03-28T07:12:10.676Z","avatar_url":"https://github.com/mudler.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nWWW::Google::AutoSuggest - Query the Google services to retrieve the query suggestions\n\n# SYNOPSIS\n\n    use WWW::Google::AutoSuggest;\n    my $AutoSuggest=WWW::Google::AutoSuggest-\u003enew();\n    my @Suggestions = $AutoSuggest-\u003esearch(\"perl\");\n    ###### or\n    use WWW::Google::AutoSuggest;\n    my $AutoSuggest=WWW::Google::AutoSuggest-\u003enew(domain=\u003e \"it\" ,json=\u003e1); #uses www.google.it instead of .com\n    my $result = $AutoSuggest-\u003esearch(\"perl\");\n    # $result now is a decoded JSON arrayref\n    ###### or with the html tags\n    use WWW::Google::AutoSuggest;\n    my $AutoSuggest=WWW::Google::AutoSuggest-\u003enew(strip_html=\u003e0);\n    my @Suggestions = $AutoSuggest-\u003esearch(\"perl\");\n\n# DESCRIPTION\n\nWWW::Google::AutoSuggest allows you to use Google Suggest in a quick and easy way and returning it as decoded JSON for further inspection\n\n# ARGUMENTS\n\n- json\n\n        my $AutoSuggest=WWW::Google::AutoSuggest-\u003enew(json=\u003e1);\n\n    or\n\n        $AutoSuggest-\u003ejson(1);\n\n    Explicitally enable the return of the decoded [JSON](https://metacpan.org/pod/JSON) object when calling `search(\"term\")`\n\n- strip\\_html\n\n        my $AutoSuggest=WWW::Google::AutoSuggest-\u003enew(strip_html=\u003e0);\n\n    or\n\n        $AutoSuggest-\u003estrip_html(0);\n\n    Explicitally disable the stripping of the HTML contained in the google responses\n\n- raw\n\n        my $AutoSuggest=WWW::Google::AutoSuggest-\u003enew(raw=\u003e1);\n\n    or\n\n        $AutoSuggest-\u003eraw(1);\n\n    Explicitally enable the return of the response content when calling `search(\"term\")`\n\n- domain\n\n        my $AutoSuggest=WWW::Google::AutoSuggest-\u003enew(domain=\u003e\"it\");\n\n    or\n\n        $AutoSuggest-\u003edomain(\"it\");\n\n    Explicitally use the Google domain name in the request\n\n# METHODS\n\n- new\n\n        my $AutoSuggest=WWW::Google::AutoSuggest-\u003enew();\n\n    Creates a new WWW::Google::AutoSuggest object\n\n- search\n\n        my @Suggestions = $AutoSuggest-\u003esearch($query);\n\n    Sends your `$query` to Google web server and fetches and parse suggestions for the given query.\n    Default returns an array of that form\n\n        @Suggestions = ( 'foo bar' , 'baar foo',..);\n\n    Setting\n      $AutoSuggest-\u003ejson(1);\n\n    will return the [JSON](https://metacpan.org/pod/JSON) object\n\n# AUTHOR\n\nmudler \u003cmudler@dark-lab.net\u003e\n\n# COPYRIGHT\n\nCopyright 2014 mudler\n\n# LICENSE\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n\n# SEE ALSO\n\n[https://metacpan.org/pod/WebService::Google::Suggest](https://metacpan.org/pod/WebService::Google::Suggest)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Fwww--google--autosuggest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudler%2Fwww--google--autosuggest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Fwww--google--autosuggest/lists"}