Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save johndonnelly/ac3ff36715efb75d948db3a5842323fa to your computer and use it in GitHub Desktop.
Save johndonnelly/ac3ff36715efb75d948db3a5842323fa to your computer and use it in GitHub Desktop.
Function Invoke-WolframAlphaAPI($Query)
{
Return (Invoke-RestMethod -Uri "http://api.wolframalpha.com/v2/query?appid=APIKEY&input=$($Query.Replace(' ','%20'))").queryresult
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment