Forum - Title search via API

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #64651
    43ACC_UBL
    Participant

    Hello, I have two questions, please:

    Is it possible to search with title or author using the Alma API (like it works with the primo api)?
    So for example, I only know the title of a book and want use the alma api to get de author, public year, isbn and so on…

    And the second question:
    is it possible to search a book only knowing the barcode (with alma api)?

    Thank you very much and best regards,
    Simon

    #64666
    Tami Fuches
    Moderator

    Hi Simon,
    1. The GET BIBs API supports retrieving BIB records based on keys – e.g. based on network numbers (035).
    For searching based on title, author etc. we suggest to use the SRU – see https://developers.exlibrisgroup.com/alma/integrations/sru/ .

    2. We have a dedicated API for retrieving an item based on its barcode:
    GET /almaws/v1/items?item_barcode={item_barcode}

    Tamar
    Alma API team

    #64670
    Gabriele Höfler
    Participant

    Hi Simon,

    wanted to add that you can fetch titles by barcode via SRU too. Needs the following query-param: “alma.barcode=”

    Example of URL-params: version=1.2&operation=searchRetrieve&recordSchema=marcxml&query=alma.barcode=+Z171377605

    I wrote a bit of python code for my last job at the ONB Labs that might come in handy:

    https://labs.onb.ac.at/gitlab/labs-team/catalogue/tree/master/sru

    Best,
    Gabriele

    #64714
    43ACC_UBL
    Participant

    Thanks for help. SRU works perfect but i have two more questions, please:

    1) does anywhere exist a list with the possible queries? Can i search via keyword, …?

    2) is there any way to show more than 10 results? e.g. Tag <numberOfRecords> shows 796, but it shows only 10 results?

    Thanks and best regards,
    Simon

    #64715
    Tami Fuches
    Moderator

    Hi,
    See documentation of SRU: https://developers.exlibrisgroup.com/alma/integrations/sru/
    1. The list of possible indexes is in the “Explain” operation.
    2. You can use maximumRecords parameter (value must be 0-50).

    Tamar

    #64718
    43ACC_UBL
    Participant

    Dear Tamar,

    great, thank you very much 🙂

    Simon

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.