ctti-clinicaltrials / aact

Improving Public Access to Aggregate Content of ClinicalTrials.gov
http://aact.ctti-clinicaltrials.org
MIT License
124 stars 33 forks source link

Kostik/write method api v2 returns studies/aact 572 #1092

Closed kostik700015 closed 9 months ago

kostik700015 commented 9 months ago

That PR adds a rewritten "all" method according to the apiV2 guide, which returns an array of hashes, with the NCTId number, the date the study was posted, and the date the study was completed in that format: [ { id: 'NCTIDxxxx', posted: '2023-03-23', updated: '2023-03-23' }, { id: 'NCTIDxxxx', posted: '2023-03-23', updated: '2023-03-23' }, { id: 'NCTIDxxxx', posted: '2023-03-23', updated: '2023-03-23' }, { id: 'NCTIDxxxx', posted: '2023-03-23', updated: '2023-03-23' }, ]

image_2023-10-02_11-51-26