-
Notifications
You must be signed in to change notification settings - Fork 12
Configuration
bmckinney edited this page Mar 1, 2017
·
8 revisions
You'll need to have an EDS API profile in EBSCOadmin. You can request this at eds@ebscohost.com, or you can create a new EDS API profile yourself using the Profile Maintenance feature.
Be sure you add content to your EDS API profile (via the Databases tab) so it will return results.
An EDS API session requires authentication. There are two methods available and both are configured in EBSCOadmin:
- Use this if you plan to access the API from server(s) with a fixed IP address, or via a proxy server.
- Create and manage IP address lists in the top-level Authentication tab at the top of the EBSCOadmin screen and select the IP Address sub-tab.
- Use this if you might connect to the API from machines outside your network, or from many different addresses.
- Create a user ID and password to access your API profile in the Authentication tab at the top of the EBSCOadmin screen. Make sure the Group associated with the login you create is the group that contains your EDS API profile.
EBSCO Support (eds@ebscohost.com) can help you set up an EDS API profile and get a userID and password for it if you are unfamiliar with EBSCOadmin.
You can configure the EDS session in two ways:
EDS_PROFILE=profile_name
EDS_GUEST=n
EDS_USER=your_user_id
EDS_PASS=secret
EDS_AUTH=ip
EDS_ORG=your_institution
Once set, you create a session like this:
session = EBSCO::EDS::Session.newsession = EBSCO::EDS::Session.new({
:profile =>'eds-api', :
:user =>'your_user_id',
:pass =>'secret',
:guest => false,
:org => 'my organization'})