{"id":15101842,"url":"https://github.com/aravindhnivas/cdms-jpl-api","last_synced_at":"2026-01-30T17:31:16.420Z","repository":{"id":220356191,"uuid":"750114828","full_name":"aravindhnivas/cdms-jpl-api","owner":"aravindhnivas","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-07T01:21:51.000Z","size":1069,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T21:25:10.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aravindhnivas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-30T02:21:19.000Z","updated_at":"2024-08-07T01:21:54.000Z","dependencies_parsed_at":"2024-04-27T01:38:25.827Z","dependency_job_id":"fd2748db-d8bc-418f-9f47-dc5c239ae9b5","html_url":"https://github.com/aravindhnivas/cdms-jpl-api","commit_stats":null,"previous_names":["aravindhnivas/cdms-jpl-api"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/aravindhnivas/cdms-jpl-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravindhnivas%2Fcdms-jpl-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravindhnivas%2Fcdms-jpl-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravindhnivas%2Fcdms-jpl-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravindhnivas%2Fcdms-jpl-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aravindhnivas","download_url":"https://codeload.github.com/aravindhnivas/cdms-jpl-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravindhnivas%2Fcdms-jpl-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28916075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-25T18:41:24.412Z","updated_at":"2026-01-30T17:31:16.400Z","avatar_url":"https://github.com/aravindhnivas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Getting Started\n\nGet information from the JPL and CDMS databases by `molecule tag`.\n\nTo obtain data by single molecule tag, use the following code:\n\n```ts\nimport axios from 'axios';\nimport { JPL, CDMS } from 'cdms-jpl-api';\n\n// usage example\n// first obtain the url data either by using node-fetch or axios or any other library to fetch the HTML data\n\n// fetching HTML data from CDMS\n\nconst cdms_tag = '003501' // for HD\nconst cdms_url = `https://cdms.astro.uni-koeln.de/cgi-bin/cdmsinfo?file=e${tag}.cat`;\nconst res = await axios.get(cdms_url);\nconst res = await axios.get(cdms_url);\nconst html_data = res.data;\nconst parsed_informations = await CDMS(jpl_html);\n\n// similiar approach for JPL but use the corresponsing URL\nconst jpl_tag = '3001' // for HD\nconst jpl_url = `https://spec.jpl.nasa.gov/ftp/pub/catalog/doc/d${jpl_tag}.cat`;\n```\n\nTo obtain the full data table from the JPL and CDMS databases, use the following code:\n\n```ts\nimport { parse_cdms_data, parse_jpl_data } from 'cdms-jpl-api';\n\nconst cdms_html = await fetch_data_from_url('CDMS');\nconst cdms_data = await parse_cdms_data(cdms_html);\n\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faravindhnivas%2Fcdms-jpl-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faravindhnivas%2Fcdms-jpl-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faravindhnivas%2Fcdms-jpl-api/lists"}