YouTube Data API

https://developers.google.com/youtube/v3/

https://console.cloud.google.com/apis/credentials?hl=ja&orgonly=true&project=youtube-data-api-336711&supportedpurview=organizationId

https://akiblog.tech/?p=1320&utm_source=pocket_mylist

https://akiblog.tech/?p=1360

https://qiita.com/kamikawa_iteek/items/dd1fd4c1427ece787eea?utm_source=pocket_mylist

https://qiita.com/g-k/items/7c98efe21257afac70e9?utm_source=pocket_mylist

memo

Python の実行環境を切り替えて使用する (venv) Python3.3以降
https://maku77.github.io/python/env/venv.html

pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-api-python-client

virtualenv Python_de_YouTube_API
source Python_de_YouTube_API/bin/activate
Python_de_YouTube_API/bin/pip install google-api-python-client

(Python_de_YouTube_API) *MacBook-Air ~ % which python
/Users/do/Python_de_YouTube_API/bin/python
(Python_de_YouTube_API) *MacBook-Air ~ % which pip
/Users/do/Python_de_YouTube_API/bin/pip

(Python_de_YouTube_API) MacBook-Air ~ % pip list
Package Version


cachetools 4.2.4
certifi 2021.10.8
charset-normalizer 2.0.9
google-api-core 2.3.2
google-api-python-client 2.33.0
google-auth 2.3.3
google-auth-httplib2 0.1.0
googleapis-common-protos 1.54.0
httplib2 0.20.2
idna 3.3
pip 21.3.1
protobuf 3.19.1
pyasn1 0.4.8
pyasn1-modules 0.2.8
pyparsing 3.0.6
requests 2.26.0
rsa 4.8
setuptools 60.1.1
six 1.16.0
uritemplate 4.1.1
urllib3 1.26.7
wheel 0.37.1

pip install --upgrade google-api-python-client
pip install --upgrade google-auth google-auth-oauthlib google-auth-httplib2

シェアする

  • このエントリーをはてなブックマークに追加

フォローする