pubchem simplifies the data retrieval from the PubChem API.
github.com/cheminfo/pubchem
cheminfo/pubchem