google-somethin

Crates.iogoogle-somethin
lib.rsgoogle-somethin
version0.1.4
sourcesrc
created_at2018-11-03 12:05:15.074326
updated_at2018-11-05 07:01:25.977679
descriptionA simple library that grabs Google search results...
homepage
repositoryhttps://github.com/GitStonic/google-somethin
max_upload_size
id94495
size5,077
Stephen O. (oshinowo-stephen)

documentation

https://docs.rs/google-somethin

README

google-somethin

A simple library that grabs Google search results...

google-signin on crates.io google-signin on docs.rs Build Status

Usage

Insert this in Cargo.toml

[dependencies]
google-somethin = "0.1"

And this in your main file

extern crate google_somethin;

Basic usage

First import the crate and method as shown below.

extern crate google_somethin;
use google_somethin::google;

Now query!

let results = google("roblox", None);
// Should return results of links and titles.
println!("Roblox results! {:?}", results);

Reminders

Just to verify again Section to those who was wondering is only a struct with keys of title and link.

Section {
    title: String,
    link: String,
} 

That's basically it!

Commit count: 0

cargo fmt