[][src]Crate google_somethin

Google Somethin

A simple library that grabs Google search results...

How to use

extern crate google_somethin;

fn main() {
    use google_somethin::google;
     
    let results = google("roblox", None);
    println!("The first title of the roblox results! {}", results[0].title);
}

Structs

Options

Options passed in with the google method

Functions

google

Google's the query you've passed in, which returns a Section which contains the link and title of the result.