Skip to content

Instantly share code, notes, and snippets.

@seandavi
Created January 31, 2024 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seandavi/dd7052951a199e5ea5ce584b01c5e0f2 to your computer and use it in GitHub Desktop.
Save seandavi/dd7052951a199e5ea5ce584b01c5e0f2 to your computer and use it in GitHub Desktop.
Common Fund Data Ecosystem funding from reporter
#!/bin/bash
# results in json format
# Actual data in "results" array
#
# Opportunity numbers taken from https://commonfund.nih.gov/dataecosystem/FundedResearch
curl \
-X POST \
https://api.reporter.nih.gov/v2/projects/search \
-d '{"criteria":{"opportunity_numbers": ["RFA-RM-23-003", "PA20-185", "OTA-23-004", "RFA-RM-22-007", "OTA-23-005", "RFA-RM-17-026", "RFA-RM-21-007", "RFA-RM-19-012"]}}' \
-H 'Content-Type: application/json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment