A Python package to interact with YouTube Data API v3.
Project description
YouTube Gears
Example
import logging
import ytb_gears
def main():
logging.basicConfig(level=logging.INFO)
client_secret_file = "client_secret.json"
video_path = "test.mp4"
if ytb_gears.today_already_uploaded(client_secret_file):
return
print(f"即将上传视频: {video_path}")
ytb_gears.upload(
video_path,
client_secret_file,
"YouTube Gears Test Video",
"Uploaded by YouTube Gears",
"ytb-gears",
"22",
"unlisted",
)
main()
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
ytb_gears-0.1.1.tar.gz
(14.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ytb_gears-0.1.1.tar.gz.
File metadata
- Download URL: ytb_gears-0.1.1.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95e9b770d8bced971443de1f653fc006103eb3601b7053f8408987dafbfef414
|
|
| MD5 |
7e5559dd2b95a293a5820173a32bb316
|
|
| BLAKE2b-256 |
ac0012071d4710424e0fdd9cbb0a4787b9bbc237150a7281c7102fc09556bbe2
|
File details
Details for the file ytb_gears-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ytb_gears-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b894044e8395c39412cd4f68576b8b7c5e4ace92931795bc62ff0f9c5f0b011
|
|
| MD5 |
c66d86e5cef17ce4f5948533012ab06f
|
|
| BLAKE2b-256 |
7f3f498c43bb410cc385e4099b0a818d40e1afb4bc086ed397128f5756769e7d
|