Submit compact Human Protein Atlas requests for gene JSON, search downloads, and page-level tissue or cell-line lookups. Use when a user wants concise Human Protein Atlas summaries; save raw JSON or HTML only on request.
scripts/rest_request.py for all Human Protein Atlas calls.base_url=https://www.proteinatlas.org.max_items; single gene entry lookups usually do not need it, while search and download endpoints are better with max_items=10.... in tool previews as UI truncation, not literal request content.save_raw=true and report the saved file path instead of pasting large payloads into chat.<ENSG>.json, api/search_download.php, search/tissue/<symbol>, and search/cellline/<symbol>.response_format=text so the script returns only text_head unless raw output is requested.base_url, pathmethod, params, headers, json_body, form_body, record_path, response_format, max_items, max_depth, timeout_sec, save_raw, raw_output_path{"base_url":"https://www.proteinatlas.org","path":"ENSG00000141510.json"}{"base_url":"https://www.proteinatlas.org","path":"api/search_download.php","params":{"search":"TP53","format":"json","columns":"g,gs,tissue","compress":"no"},"max_items":10}{"base_url":"https://www.proteinatlas.org","path":"search/tissue/TP53","response_format":"text"}ok, source, path, method, status_code, warnings, and either compact records, a compact summary, or text_head.raw_output_path when save_raw=true.ok=false with error.code and error.message.echo '{"base_url":"https://www.proteinatlas.org","path":"ENSG00000141510.json"}' | python scripts/rest_request.py
scripts/rest_request.py.