code: def find(query):
      
      assert type(query) == str or type(query) == str, 'query not a string object'
      searchurl = 'http://www.chemspider.com/Search.asmx/SimpleSearch?query=%s&token=%s' % (urlquote(query), TOKEN)
      response = urlopen(searchurl)
      tree = ET.parse(response)
      elem = tree.getroot()
      csid_tags = elem.getiterator('{http://www.chemspider.com/}int')
      compoundlist = []
      for tag in csid_tags:
          compoundlist.append(Compound(tag.text))
      return compoundlist if compoundlist else None
docs: Search by Name, SMILES, InChI, InChIKey, etc. Returns first 100 Compounds