shadawck/rust-trend

Examples not working

ermolushka opened this issue ยท 3 comments

Hey, after the installation and running a basic examples I keep on getting errors

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("expected value", line: 1, column: 1)', /root_folder/.cargo/registry/src/github.com-1ecc6299db9ec823/rtrend-0.1.4/src/client.rs:309:71

Seems like some serialization problems with serde.

Hello @ermolushka I have published a fix. There was some issues with google cookies and the format of the request in the client builder.

You can use the version v0.1.5 in your Cargo.toml. Thanks for raising this issue ๐Ÿ‘

Appreciate it, thanks, sees to work. You also need to update the example as it is using

use rtrend::{Keyword
instead of
use rtrend::{Keywords

yes you're right ๐Ÿ˜ƒ