Missing youtubePartner.v1.json API definition
See original GitHub issueIn documentation for Content ID API, there are examples mentioning youtubePartner
service / API, but doesn’t work
https://developers.google.com/youtube/partner/upload_claim_sample#obtain-services
Code example
# credentials: google.oauth2.credentials.Credentials
# these credentials are valid, can access `youtube/v3` API and load data with these
googleapiclient.discovery.build("youtubePartner", "v1", credentials=credentials)
Stack trace
File "/usr/local/lib/python3.9/site-packages/googleapiclient/discovery.py", line 398, in _retrieve_discovery_doc
raise UnknownApiNameOrVersion("name: %s version: %s" % (serviceName, version))
googleapiclient.errors.UnknownApiNameOrVersion: name: youtubePartner version: v1
Note
Also cannot locate the file in repository https://github.com/googleapis/google-api-python-client/tree/main/googleapiclient/discovery_cache/documents
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
YouTube Data API - Errors | Google Developers
This error indicates that the user has an unlinked Google Account, which means that the user has a Google Account but does not...
Read more >Youtube Partner API is missing · Issue #2815 - GitHub
Problem While other language clients of google like PHP, or Python do support Youtube Partner API, Node does not, forcing us to make...
Read more >How to get content owner info for particular video via YouTube ...
Is there a way to get content owner information (attribution) for particular video via YouTube Partner API? For example, this video: http://www.youtube.com/ ...
Read more >googleapiclient.errors.UnknownApiNameOrVersion: name ...
I have been trying for youtube content api and tried with the following code def main(): credentials = ServiceAccountCredentials.from_json_keyfile_name( ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve confirmed that the docs at https://developers.google.com/youtube/partner/upload_claim_sample#obtain-services have been updated to include
static_discovery=False
.Thanks for confirming @MichalVasut. I’ve proposed an improvement to the docs via internal cl/394006151. I’ll keep this issue open until the docs are updated.