mcs07/ChemSpiPy

Having trouble using cs.search and getting a list of compounds

Opened this issue · 0 comments

Hi, When I run cs.search('glucose') in python, I don't get a list of compounds like it says in the ChemSpider documentation. Instead it gives an object but says Failed.

from chemspipy import ChemSpider
cs = ChemSpider('6zvrJ9vSmlsrPMKhGaaWZt8oY7AYx4IT')
results = cs.search('Glucose')
print(results)
Results(Failed)

Do you know why this could be the case and how to fix it?