-
Notifications
You must be signed in to change notification settings - Fork 10
Quick Start
bmckinney edited this page Mar 1, 2017
·
1 revision
$ [sudo] gem install ebsco-eds
$ irb
>> require 'ebsco/eds'
session = EBSCO::EDS::Session.new({:user=>'user', :pass=>'secret', :profile=>'edsapi'})
results = session.simple_search('volcano')
results.stat_total_hits
=> 1519176
record = results.records.first
record.title
=> "Turmoil at Turrialba Volcano (Costa Rica): Degassing and eruptive processes inferred from high-frequency gas monitoring"
record.plink
=> "http://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsswe&AN=edsswe.oai.publications.lib.chalmers.se.245269"
record = session.retrieve({dbid: 'asn', an: '112761583'})
record.title
=> "What Makes a Story."