# [How to Use YouTube API in Python](https://www.thepythoncode.com/article/using-youtube-api-in-python)
To run this:
- `pip3 install -r requirements.txt`
- For complete code, use `youtube-api.ipynb`
- To get video details: `video_details.py`
- To get channel details: `channel_details.py`
- To search by keyword: `search_by_keyword.py`
- To extract comments: `comments.py`