chemspider-json-api

0.0.2

Search chemspider

search(options: [object]): Promise<Object>
Parameters
options ([object] (default {}) )
Name Description
options.searchMethod [string] (default SimpleSearch) The chemspider search method. The possible search methods are: SimpleSearch , ExactStructureSearch , SubstructureSearch , SimilaritySearch , IntrinsicPropertiesSearch , DataSourceSearch , ElementsSearch , PredictedPropertiesSearch , AdvancedSearch
options.resultMethod [string] (default GetSearchResultAsCompound) The chemspider result method. The possible result methods are: GetSearchStatus , GetSearchResult , GetSearchResultWithRelevance , GetSearchResultAsCompounds , GetSearchResultAsSdf
options.searchOptions [object] (default {}) Chemspider search options
options.resultOptions [object] (default {}) Chemspider result options
Returns
Promise<Object>: Chemspider's response