Powershell Rest Demo
Have you ever wondered if the number of siblings that a person has makes them more or less likely to be president? This is a demo I wrote to show usage of REST APIs from Powershell. This example uses the Invoke-RestMethod in order to call the Freebase API. First we search for all US Presidents. Then we retrieve the list of their siblings. The script displays the number of siblings that each president had and then prints the average number of siblings over all of them.