view example_crates/youtube_example/README.md @ 170:139c5e1dc358

minimal youtube API example listing top 5 videos on youtube
author Michael Kefeder <m.kefeder@gmail.com>
date Thu, 10 Dec 2020 12:07:31 +0100
parents
children
line wrap: on
line source

# `youtube_example`

List top 5 youtube videos.

```shell
$ cargo run
# Lists the videos.
```

Please note that you need a client secret to run this binary. Download it from
[Developer Console](https://console.developers.google.com) and place it into the
file `client_secret.json` in your working directory so that `youtube_example` can
find it.

Run with `RUST_LOG=debug` in order to see an accurate record of HTTP requests
being sent and received.