FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

IntuneTraining/BookCompetition: Winners are grinners · GitHub

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

BookCompetition

Simple functions to extract comments from youtube video and pick winners at random.

How to use

  1. Load the functions into PowerShell
. .\BookCompetition.ps1
  1. Collect the competition entries
$entries = Get-CompetitionEntries -videoId {the Id of the video you want} -apiKey {your youtube api key}
  1. Generate winners
# one winner
Get-CompetitionWinner -entries $entries
# five winners
Get-CompetitionWinner -entries $entries -winnerCount 5
# fifty winners
Get-CompetitionWinner -entries $entries -winnerCount 50

About

Winners are grinners

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL