# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# google.search()

## Syntax

    search(query)

## Description

Searches the Google site for given query, and returns a list of site links found by Google.

## Example

    google = ximport("google")
    google.license("E4RRrGcASKIvbCtG43DFHHERRv78ghjg")
    print google.search("food")
    >>>['http://www.foodtv.com/',
    >>> 'http://www.fda.gov/',
    >>> 'http://www.epicurious.com/',
    >>> 'http://www.nal.usda.gov/fnic/',
    >>> 'http://www.olen.com/food/',
    >>> 'http://www.gti.net/mocolib1/kid/food.html',
    >>> 'http://www.fao.org/',
    >>> 'http://www.thehungersite.com/',
    >>> 'http://www.wfp.org/',
    >>> 'http://www.slowfood.com/']