Search Penn Libraries Franklin for documents
    The maximum pagesize currently is 50.

def search(query):
    """Search Penn Libraries Franklin for documents
    The maximum pagesize currently is 50.
    """
    params = {
        's.cmd': 'setTextQuery(%s)setPageSize(50)setHoldingsOnly(true)' % query
    }
    return requests.get(BASE_URL, params=params, timeout=10).json()