Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
3 of 20 committers (15.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.0%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
:sweet_potato: Access YouTube from R
Basic Info
- Host: GitHub
- Owner: gojiplus
- License: other
- Language: R
- Default Branch: master
- Homepage: http://gojiplus.github.io/tuber
- Size: 8.7 MB
Statistics
- Stars: 185
- Watchers: 14
- Forks: 54
- Open Issues: 28
- Releases: 2
Topics
Metadata Files
README.md
:sweet_potato: tuber: Access YouTube API via R
Access YouTube API via R. Get comments posted on YouTube videos, get information on how many times a video has been liked, search for videos with particular content, and much more. You can also get closed captions of videos you own. To learn more about the YouTube API, see https://developers.google.com/youtube/v3/.
Installation
To get the current development version from GitHub:
``` r
install.packages("devtools")
devtools::installgithub("soodoku/tuber", buildvignettes = TRUE) ```
To get a quick overview of some important functions in tuber, check out this article.
Using tuber
To get going, get the application id and password from the Google
Developer Console (see
https://developers.google.com/youtube/v3/getting-started). Enable all
the YouTube APIs. Then set the application id and password via the
yt_oauth function. For more information about YouTube OAuth, see
YouTube OAuth
Guide.
r
yt_oauth("app_id", "app_password")
If your session cannot open a browser window for authentication, pass
use_oob = TRUE to yt_oauth() so that authentication can be completed
via an out-of-band code.
To force re-authentication at any time, delete the .httr-oauth file in
your working directory.
Note: If you are on ubuntu, you may have to run the following before doing anything:
httr::set_config(httr::config( ssl_verifypeer = 0L ) )
Get Statistics of a Video
r
get_stats(video_id = "N708P-A45D0")
Get Information About a Video
r
get_video_details(video_id = "N708P-A45D0")
Get Captions of a Video
r
get_captions(video_id = "yJXTXN4xrI8")
Note: It was previously possible to get captions for all videos that
had “Community contributions” enabled. However, since YouTube removed
that option in September
2020, the
get_captions function now only works for videos created with the same
account as the API credentials you use. An alternative for collecting
YouTube video captions is the youtubecaption
package.
Search Videos
r
yt_search("Barack Obama")
Get All the Comments Including Replies
r
get_all_comments(video_id = "a-UQz7fqR3w")
License
Scripts are released under the MIT License.
Contributor Code of Conduct
The project welcomes contributions from everyone! In fact, it depends on it. To maintain this welcoming atmosphere, and to collaborate in a fun and productive way, we expect contributors to the project to abide by the Contributor Code of Conduct.
Owner
- Name: goji+
- Login: gojiplus
- Kind: organization
- Repositories: 2
- Profile: https://github.com/gojiplus
Useful tools for everyone
GitHub Events
Total
- Issues event: 20
- Watch event: 1
- Delete event: 6
- Issue comment event: 20
- Push event: 39
- Pull request event: 21
- Fork event: 1
- Create event: 8
Last Year
- Issues event: 20
- Watch event: 1
- Delete event: 6
- Issue comment event: 20
- Push event: 39
- Pull request event: 21
- Fork event: 1
- Create event: 8
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| ***** | g****7@g****m | 337 |
| muschellij2 | m****2@g****m | 36 |
| amrrs | a****s@o****m | 8 |
| Mikko Rönkkö | m****o@j****i | 3 |
| Daniel Thiele | d****e@f****e | 2 |
| Balthasar | 3****s | 2 |
| Gustavo Velásquez | g****b@g****m | 2 |
| MaKr | S****n | 2 |
| Kate Lyons | k****3@i****u | 2 |
| Michael Chirico | m****4@g****m | 2 |
| Lisa Hehnke | l****e@u****e | 1 |
| Johannes Breuer | 2****u | 1 |
| Layik Hama | l****a@g****m | 1 |
| Maria Paula Caldas | 3****s | 1 |
| Michael Toth | m****h@g****m | 1 |
| Tim König | 3****K | 1 |
| mbaquer6 | m****6@g****m | 1 |
| Helena Schmidt | k****3@k****e | 1 |
| Juan Alvarado | j****d@g****m | 1 |
| Troy Hernandez | t****z@p****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 77
- Total pull requests: 48
- Average time to close issues: almost 2 years
- Average time to close pull requests: 4 days
- Total issue authors: 59
- Total pull request authors: 16
- Average comments per issue: 4.26
- Average comments per pull request: 0.58
- Merged pull requests: 41
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 14
- Average time to close issues: 3 months
- Average time to close pull requests: less than a minute
- Issue authors: 2
- Pull request authors: 2
- Average comments per issue: 0.5
- Average comments per pull request: 0.0
- Merged pull requests: 8
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- hariskr (5)
- MaximilianKrauss (4)
- balthasars (3)
- cschwem2er (3)
- gvelasq (2)
- hmeleiro (2)
- lyons7 (2)
- nasbar79 (2)
- ctlamb (2)
- dripti (2)
- gabrielrvsc (1)
- Rsull93 (1)
- rorymclaughlin432 (1)
- mronkko (1)
- mauro-cb (1)
Pull Request Authors
- soodoku (13)
- muschellij2 (11)
- thieled (4)
- mronkko (4)
- TroyHernandez (3)
- balthasars (2)
- MaximilianKrauss (2)
- MichaelChirico (2)
- layik (1)
- mpaulacaldas (1)
- jalvarado (1)
- jobreu (1)
- TimBMK (1)
- gvelasq (1)
- lhehnke (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 646 last-month
- Total docker downloads: 21,344
-
Total dependent packages: 1
(may contain duplicates) -
Total dependent repositories: 4
(may contain duplicates) - Total versions: 20
- Total maintainers: 1
proxy.golang.org: github.com/gojiplus/tuber
- Documentation: https://pkg.go.dev/github.com/gojiplus/tuber#section-documentation
- License: other
-
Latest release: v1.2.0
published 6 months ago
Rankings
cran.r-project.org: tuber
Client for the YouTube API
- Homepage: https://gojiplus.github.io/tuber/
- Documentation: http://cran.r-project.org/web/packages/tuber/tuber.pdf
- License: MIT + file LICENSE
-
Latest release: 1.1.0
published 6 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.4.0 depends
- dplyr * imports
- httpuv * imports
- httr * imports
- jsonlite * imports
- magrittr * imports
- plyr * imports
- purrr * imports
- tibble * imports
- tidyr * imports
- tidyselect * imports
- utils * imports
- hms * suggests
- knitr >= 1.11 suggests
- lintr * suggests
- rmarkdown * suggests
- testthat * suggests
- xml2 * suggests
- actions/checkout v2 composite
- r-lib/actions/setup-r f57f1301a053485946083d7a45022b278929a78a composite