Technical Support Information
Support Center:
Database Search API Integration Guide
Scott Wojtowicz, Last modified by Scott Wojtowicz August 14 2017 10:45 AM

With the abundance of electronic resources available today, many schools prefer to access their educational assets in one place. Federated Search Engines and other Discovery Tools allow libraries to do just that - easily browse through multiple content sources in their catalog at the same time.

 

The Infobase Search API provides a much needed “Communication Bridge” between our content and any Discovery Tool that our mutual customers may be using. Api.infobase.com quickly indexes search results from our Online Databases in a universal XML format. These customizable XML search results can then be parsed with search results from other outside sources by an Infobase Discovery Tool partner.

 

In this Search API Integration Guide, you will find everything you need to know to get started as an Infobase Discovery Tool partner.

 

 

Available Products

 

The Infobase Database Search API is currently available for the following online products:

 

History Research Center

  • American History Online
  • Modern World History Online
  • African-American History Online
  • American Indian History Online
  • Ancient and Medieval History Online
  • World Religions Online

Additional Databases

  • Science Online
  • Health Reference Center
  • Bloom's Literature

 

More of our products will be continually added to the API and new connections are actively being developed now. This guide will be updated accordingly.

 

 

Search Query

 

In order to utilize the API, there are certain query parameters that must be added to the URL routing:

 

Api.infobase.com/search/accountID/vendorID/productID/searchterm/format

 

Account ID

This is the customer’s Infobase Account ID. If you are using the API to harvest meta-data, there is a specific Discovery Tool Partner Account ID that can be provided.

 

Vendor ID

This is the Discovery Tool Partner ID that will be provided once a connection has been established with Infobase.

 

Product ID

This is the Product ID for what Infobase products you would like to query. Here are the currently available product IDs:

 

 

Product Name

Product ID

All Available Products for your Account

0

American History Online

2

Modern World History Online

3

African-American History Online

5

American Indian History Online

6

Ancient and Medieval History Online

7

Science Online

8

Health Reference Center

11

World Religions Online

22

Bloom's Literature

12

 

Search Term

This is the key word(s) you are attempting to search by. In order to get all results, please leave this blank.

 

Format

This is the desired output format you would like the results to be returned in. The available formats are:

 

  •          Xml
  •          Xml-file (this will return a file stream)
  •          Xml-zip (this will return a compressed file that includes Full Article Text)
  •          Json

 

 

Search Results

 

After you have submitted a search query to the API, you results will then be returned with the available meta-data for your requested records. Here are the currently included meta-data fields for the Infobase API:

 

 

 

Field Name

Description

Database

The Infobase Product or Database that contains the record

AssetType

Asset type of the record

TitleID

The Infobase specific ID for the record

Title

Record name

RecordType

Type of record being returned

RecordURL

Account specific access URL to the record (authentication required)

Tags

Any relevant search tags for the record

ArticleBody

Includes Full Article Text (only available in xml-zip format)

 

Please note: The Account ID in the Record URL will match the Account ID provided in the original Search Query. Using a customer’s correct account ID is the only way for any authentication settings and usage statistics recording to work properly.

 

 

 

Sample Search

 

Here is an example of a Search Query for the term “frogs”:

 

http://api.infobase.com/search/0/0/0/frogs/xml

 

The Account ID and Vendor ID have been set to 0 for this example.

 

Once completed, the XML end result would look like this for the first record returned:

 

<Record>

<Database>History Research Center</Database>

<AssetType>Images</AssetType>

<RecordType>Photograph</RecordType>

<TitleID>49286</TitleID>

<Title>Walleye (Sander vitreus)</Title>

<RecordURL>

http://online.infobase.com/Auth/Index?aid=0&itemid=WEHRC&articleId=49286

</RecordURL>

<Tags>

North America,Percidae,Sport fish,Walleye,Spawn (biology),Frog,Egg (biology),Blue walleye,Sauger,Environment,Fish,Sander,Fauna of the United States,Environment

</Tags>

</Record>

 

 

Record URL Authentication

 

It is Discovery Tools partner responsibility to ensure that the customer’s Infobase Account ID is used in the provided Record URLs. When harvesting for meta-data, the Account ID retuned in the results will be for the Discovery Tool Partners specific account. Using a customer’s correct account ID is the only way for any authentication settings and usage statistics recording to work properly. Please replace the account ID when being displayed for a mutual customer.

 

<RecordURL>

http://online.infobase.com/Auth/Index?aid=0&itemid=WEHRC&articleId=49286

</RecordURL>

 

 

 

Additional Help

 

If you have any questions / concerns, or are looking to establish a Discovery Tools partnership with Infobase, please contact our API Support Staff at support@infobaselearning.com.

(0 vote(s))
Helpful
Not helpful