rohitkhatri / youtube-python Goto Github PK
View Code? Open in Web Editor NEWYouTube Api wrapper in python
YouTube Api wrapper in python
Hi,
I noticed that the version available via pip
(1.0.12) is not the same as the one in this repository (latest commit appears to be 1.0.0). Is the updated source available somewhere else?
Thanks.
I really liked your library but it took me some time to get how it works, if you could add some examples I'm sure it would really help people out!
Can I list commentThreads using this API?
The commit 3d296e7 does not seem to have made its way to https://pypi.org/project/youtube-python/.
Please can you version bump and publish on Pypi please as the latest release on pypi looks to be this commit 992dac5 which is behind the above commit with the api key fix.
Was trying to run the lib per the README.md instructions and encountered this error:
from youtube import API
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/youtube/__init__.py", line 7, in <module>
from youtube.api import API
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/youtube/api.py", line 49
kwargs = {**{
^
SyntaxError: invalid syntax
the package was installed.
can import youtube
can from youtube import YouTubeException
cannot from youtube import YouTube
ImportError: cannot import name 'YouTube'
what should i do?
Hi, I couldn’t figure out how to get the access token. I read the source and I see the exchange_code
method but when I tried to access using:
r = api.exchange_code(API_CODE, 'http://localhost:7777/token_redirect)
it raises an error:
youtube.exceptions.YouTubeException: (400, 'invalid_request', <Response [400]>)
where API_CODE is the code I received from doing an auth request.
api = API(client_id='...', client_secret='...', api_key='...', access_token='optional')
api.get('videos', id='B7FJV9KIn58')
I got an error as I wrote in the title. The client id, secret, and the API key should be right.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.