rtrend 0.1.7

Unofficial API for interacting with Google Trend
Documentation
1
2
3
4
5
6
7
8
9
10
11
use rtrend::{Client, Country, Keywords, RegionInterest};

fn main() {
    let country = Country::US;
    let keywords = Keywords::new(vec!["Instagram", "Facebook", "Pinterest"]);
    
    let client = Client::new(keywords, country).build();
    
    let region_interest_pinterest = RegionInterest::new(client).get_for("Pinterest");
    println!("{}", region_interest_pinterest);
}