Scan cannabis preprints
Scans only the official medRxiv details API for whole-word cannabis terms and an optional extra literal term, returning exact API text, provenance and separate DOI versions. Reads up to 6 API pages per call by default (maximum 10; 30 raw records per page), strictly serially with seven-second pauses; an empty matching batch can still have unscanned records, continued with the signed cursor within ten minutes using the same inputs. Defaults to the inclusive last 30 UTC dates, never uses website search or signs in, and does not fetch article pages or JATS content.
Input
Result
windowobjectresultslist of objectshas_morebooleannext_cursorstring or nulllist_changedbooleantotal_resultsinteger or nullapi_records_totalintegernext_cursor_expires_atstring or nullnext_cursor_unavailablestringapi_records_scanned_so_farinteger