这个页面里面的数据就是该化合物的Chemical and Physical Properties数据,这个json的层特别多,需要慢慢解析,具体看代码。 importpandasaspdimportnumpyasnpimportjsonimportrequestsimporttimecid=9809url=f'https://pubchem.ncbi.nlm.nih.gov/rest/pug_view/data/compound/{cid}/JSON/?heading=Chemical+and+Physical+Pro...
Section headings that can be used in PUG-View data retrieval can be found in the PubChem Compound TOC tree (using the PubChem Classification Browser [2]: https://pubchem.ncbi.nlm.nih.gov/classification/#hid=72). The above two PUG-View request URLs assume that CID 1983 has annotations ...