Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AnjanaMadu/YTSearch
A go (golang) library to search videos in YouTube.
https://github.com/AnjanaMadu/YTSearch
Last synced: about 1 month ago
JSON representation
A go (golang) library to search videos in YouTube.
- Host: GitHub
- URL: https://github.com/AnjanaMadu/YTSearch
- Owner: AnjanaMadu
- License: agpl-3.0
- Created: 2022-03-07T14:07:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-07T15:29:09.000Z (almost 3 years ago)
- Last Synced: 2024-08-05T09:11:51.520Z (5 months ago)
- Language: Go
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YT Search
### A go (golang) library to search videos in YouTube.## Installation
```bash
go get github.com/AnjanaMadu/YTSearch
```## Usage
```go
package mainimport (
"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](LICENSE) for more information.