this is a simple client for youtube data api v3
Project description
# youtube-api-wrapper This is an youtube api v3 wrapper which is integrated in any python app basically in web app which recommend youtube videos ### this is a simple client for youtube data api v3 ## Prerequisites Get the youtube data v3 api key from https://console.developers.google.com/apis/ Set environment variable API_KEY=’Your YoutubeDatav3 API key’ and also GOOGLE_APPLICATION_CREDENTIALS=’path/to/json/file’ Reference to set these environment variable https://cloud.google.com/docs/authentication/getting-started ## Installation Currently you add this package in python site-packages directories, global and per user. Anyone can easily retrieve the site-package directories by just firing the repl and running two commands `` import sys sys.path
`` mv the package to the site-package
## using
python import pyytdatav
p=pyytdata.PyYtData(keyword,maxlen) #keyword is the query you want to search from youtube data api and maxlen is no.
output=p.get_titles() #function call for titles of video output=p.open_id(item_no) #function to open the specific video in web browser
## Contributing Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyytdata-0.0.2.tar.gz.
File metadata
- Download URL: pyytdata-0.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9066117b820343149802ce0f979bcec9b8d49e81640e55ec67bfc61452039b77
|
|
| MD5 |
cfcb50132779c6b0a00b7c5a220ba99a
|
|
| BLAKE2b-256 |
4f1cb5194cecfe5a2b63e1a6dc0678894fabdbc399a543f38a5a40bc5ff3be81
|