Submit compact RNAcentral API requests for RNA entry browsing, single-entry lookup, and cross-reference retrieval. Use when a user wants concise RNAcentral summaries
scripts/rest_request.py for all RNAcentral calls.base_url=https://rnacentral.org/api/v1.rna/ for browsing and rna/<URS>/ or rna/<URS>/xrefs/ for targeted lookups.rna/, rna/<URS>/, and rna/<URS>/xrefs/.base_url, pathmethodparamsheadersjson_bodyform_bodyrecord_pathresponse_formatmax_itemsmax_depthtimeout_secsave_rawraw_output_path{"base_url":"https://rnacentral.org/api/v1","path":"rna/","params":{"page_size":10},"record_path":"results","max_items":10}{"base_url":"https://rnacentral.org/api/v1","path":"rna/URS0000000001/"}{"base_url":"https://rnacentral.org/api/v1","path":"rna/URS0000000001/xrefs/","record_path":"results","max_items":10}ok, source, path, method, status_code, warnings, and either compact records or a compact summary.raw_output_path when save_raw=true.ok=false with error.code and error.message.echo '{"base_url":"https://rnacentral.org/api/v1","path":"rna/","params":{"page_size":10},"record_path":"results","max_items":10}' | python scripts/rest_request.py
scripts/rest_request.py.