jaraco / wolframalpha

MIT License
148 stars 26 forks source link

Switch to HTTPS API URL #6

Closed dgw closed 8 years ago

dgw commented 8 years ago

This alphabet soup closes #5.

Successfully tested by installing over the stable release from my fork. The precise command I used, for reproducibility before merging:

sudo pip install --upgrade git+git://github.com/dgw/wolframalpha.git@https-api#egg=wolframalpha

I then restarted the IRC bot importing this module to be sure it was reloaded and ran a few test calls:

<~dgw> ;wa 2+2
  • dgw waits
<&Kaede> [W|A] Result: 4
<~dgw> ;wa airspeed velocity of an unladen swallow
<&Kaede> [W|A] Result: 25 mph  (miles per hour)(asked, but not answered, about
         a general swallow in the 1975 film Monty Python and the Holy Grail)