tsirysndr / go-youtube

Go library for accessing the YouTube API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to go-youtube πŸ‘‹ *** Work In Progress ***

GitHub code size in bytes GitHub go.mod Go version GitHub closed pull requests GitHub pull requests GitHub issues GitHub contributors License: BSD Twitter: tsiry_sndr

go-youtube is a Go client library for accessing the YouTube API

🚚 Install

go get github.com/tsirysndr/go-youtube

πŸš€ Usage

Import the package into your project.

import "github.com/tsirysndr/go-youtube"

Construct a new YouTube client, then use the various services on the client to access different parts of the YouTube API. For example:

client := youtube.NewClient("<YOUR TOKEN AUTHORIZATION>", "<YOUR API KEY>")
result, _ := client.Search.Search("doja cat")
r, _ := json.Marshal(result)
fmt.Println(string(r))

Author

πŸ‘€ Tsiry Sandratraina

Show your support

Give a ⭐️ if this project helped you!

About

Go library for accessing the YouTube API

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%