-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
youtube documentation update #8682
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Ave!
Thank you for this. There is a small update that we need to make to the Connection section, specifically to the parameters that are used to initialize the handler. It is now possible to pass OAuth credentials (generated through the GCP console) as a URL, file path and even upload it directly (when using the form).
P.S: You have the coolest username!
Hey @MinuraPunchihewa @QuantumPlumber |
pip install mindsdb[youtube] | ||
``` | ||
|
||
## Usage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this "## Usage" from this line.
The Connection section ends after the CREATE DATABASE statement. And there is already the Usage section.
SELECT * FROM mindsdb_youtube.get_comments | ||
WHERE youtube_video_id = "raWFGQ20OfA"; | ||
``` | ||
~~~~sql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it back to triple backticks as above.
```sql | ||
SELECT * FROM mindsdb_youtube.get_comments | ||
WHERE youtube_video_id = "raWFGQ20OfA" | ||
~~~~sql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it back to triple backticks as above.
|
||
Get information about any youtube video using video_id: | ||
```sql | ||
~~~~sql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it back to triple backticks as above.
|
||
Get information about any YouTube video using video_id: | ||
|
||
~~~~sql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change it back to triple backticks as above.
</Tip> | ||
|
||
The first step is to create a database with the new `Youtube` engine using the following command: | ||
The first step is to create a database with the new ```youtube``` engine using the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The inline code uses single backticks. So it should be "...with the new `youtube` engine..."
Description
Documentation update to reflect the YouTube handler Readme.md. I assume that the read me is up to date.
Fixes #8667
Type of change
Checklist: