Giter Site home page Giter Site logo

zerojuls / google-search-suggestions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jochemstoel/google-search-suggestions

0.0 1.0 0.0 7 KB

This PHP class will return 10 Google Search suggestions for any given language and phrase(s)

PHP 100.00%

google-search-suggestions's Introduction

Google Search Suggestions

This PHP class will return 10 Google Search suggestions for any given language and phrase(s)

Usage:

Very difficult.

<?php
include 'Suggest.php';
$suggest = new Suggest('where do i ', 'en');
print_r($suggest->data);
?>

Result:

Array
(
    [0] = where do i live
    [1] = where do i register to vote
    [2] = where do i vote
    [3] = where do i get a passport
    [4] = where do i go from here
    [5] = where do i want to eat
    [6] = where do i begin
    [7] = where do i get a money order
    [8] = where do i apply for a passport
    [9] = where do i belong
)

It will return cached data if a cache file for the search query / language combination already exists in the Cache folder. Make sure that the directory is writeable.

google-search-suggestions's People

Contributors

jochemstoel avatar

Watchers

LumbreX avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.