For getting all that juicy substance and compound data from Pubchem.
Please email me if you end up using this: [email protected]
I'd be interested to hear if open sourcing this helped someone else.
apt-get install wget
or sudo apt-get install wget
then
gem install pubchem
See example.rb
for how to use Pubchem.