Skip to content

invalid credentials #8

@buhtz

Description

@buhtz

I tried to use ebscopy as described in the README but it doesn't work here. I don't really understand what all this arguments are for.

I have account (and are able to log in) on CINAHL (which is one of EBSC databases I

#!/usr/bin/env python2
import sys
import ebscopy

session = ebscopy.Session(user_id='MoonKid', password='*****', profile='profile', org='org', guest='n')
results = session.search('nursing research')

results.pprint()
session.end()
sys.exit()

But something is wrong with the credentials. What is profile, org and guest for?
Do I really need to login?

Traceback (most recent call last):
  File "./ebs.py", line 6, in <module>
    session = ebscopy.Session(user_id='MoonKid', password='*****', profile='profile', org='org', guest='n')
  File "build/bdist.linux-i686/egg/ebscopy/ebscopy.py", line 388, in __init__
  File "build/bdist.linux-i686/egg/ebscopy/ebscopy.py", line 347, in get
  File "build/bdist.linux-i686/egg/ebscopy/ebscopy.py", line 273, in connect
  File "build/bdist.linux-i686/egg/ebscopy/ebscopy.py", line 244, in request
ebscopy.ebscopy.AuthenticationError: Invalid credentials!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions