Skip to content

AnjanaMadu/YTSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YT Search

A go (golang) library to search videos in YouTube.

Installation

go get github.com/AnjanaMadu/YTSearch

Usage

package main

import (
    "fmt"
    
    ytsearch "github.com/AnjanaMadu/YTSearch"
)

func main() {
    results, err := ytsearch.Search("faded")
    if err != nil {
        panic(err)
    }

    for _, result := range results {
        fmt.Printf("Title: %s\nVideo Id: %s\n\n", result.Title, result.VideoId)
    }
}

Contributing

  • Fork the repository
  • Create a branch
  • Commit your changes
  • Push your branch to your fork
  • Create a new issue or pull request

License

AGPL-3.0, see LICENSE for more information.

About

A go (golang) library to search videos in YouTube.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages