openapi-spec
curl 'https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2244/sdf'
import requests
resp = requests.get("https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2244/sdf")
data = resp.json()
import zingu_apis
api = zingu_apis.api("pubchem")
result = api.fetch("pug/compound/cid/{cid}/sdf")
for item in result:
print(item)
const resp = await fetch("https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/2244/sdf");
const data = await resp.json();