bs_sejm_search
Search the Polish Sejm Library catalog for books, parliamentary materials, and serials using specific database indexes and search parameters.
Instructions
Search the Sejm Library (Biblioteka Sejmowa) Aleph OPAC at bs.sejm.gov.pl — books, serials, parliamentary materials, etc. There is no public JSON API; this calls the same word-search form as the website (func=find-b). Returns raw HTML: the short hit list includes author, title, year, and links with doc_library + doc_number — use bs_sejm_get_item for the full bibliographic card. local_base examples: bis01 (main catalog), bis02, bis03, bis05 (articles), pos01 (Sejm recordings), tek01 (constitutional texts), sta01 (old prints), ars01 — see the library's base list on the OPAC home page. find_code: WRD = all fields (default), WST = title, WHF = author, WNW = publisher, WHP = subject, SYS = record number, etc. Only the first page of hits is returned; narrow the query or use get_item after picking doc_number from the HTML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Search terms (same syntax as the OPAC search box) | |
| local_base | Yes | Aleph local database id — e.g. bis01, bis05, pos01 (lowercase as in the catalog URLs) | |
| find_code | No | Which index to search (WRD = all fields) | WRD |
| adjacent | No | Require adjacent words: N = no (default), Y = yes | N |