Hello Johnny,

> I want to get the MarcXml record using the invenio python API.
>
> I suppose that I can use the function:
> perform_request_search

No; to get a record use print_record:

 >>> from invenio.search_engine import print_record
 >>> record = print_record(recid,"xm")

Searching is also easy:

 >>> from invenio.search_engine import perform_request_search
 >>> records = perform_request_search(cc=collection) # for example

Documentation is very clear at
http://invenio-demo.cern.ch/help/hacking/search-engine-api

Best regards,

Ferran,a happy Invenio API user

Reply via email to