About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
configuration:ils:examples:koharest_driver

Configuring the KohaRest ILS Driver

Thanks to Mohan Pradhan for developing this documentation.

Configuring Vufind for single instance in Rest API

Go to $VUFIND_HOME/config/vufind. Copy the KohaRest.ini file into the $VUFIND_LOCAL_DIR/config/vufind directory as shown below:

sudo cp $VUFIND_HOME/config/vufind/KohaRest.ini $VUFIND_LOCAL_DIR/config/vufind

Edit the KohaRest.ini file and provide the following information under the [Catalog] section:

host = http://koha-server/api

Give your IP and port number, or the hostname of your server. In our example:

http://182.93.84.138:8003/api 

The IP address or hostname will be different in your case. If you are using the standard default port 80 for HTTP or port 443 for HTTPS, you can omit the port number; e.g.:

https://vufind.healthnet.org.np/api

Also provide the clientId and clientSecret fields generated in the Koha patron side as shown (see the earlier step Creating Client ID/Secret for details) below:

The entries in the clientid and clientSecret fields will be different in your case.

configuration/ils/examples/koharest_driver.txt · Last modified: 2023/02/28 19:11 by demiankatz