Re: Q: Summon API Service?
Doug Chestnut <[log in to unmask]>
Code for Libraries <[log in to unmask]>
Wed, 27 Oct 2010 11:56:04 -0400
text/plain (45 lines)
If it helps, here are a few lines in python that I use to make summon queries:
summonAccessID = 'yourIDhere'
summonSecretKey = 'yourSecretHere'
summonAccept = "application/json"
summonThedate = datetime.utcnow().strftime("%a, %d %b %Y
summonQS = "&".join(sorted(querystring.split('&')))
summonQS = urllib.unquote_plus(summonQS)
summonIdString = summonAccept + "\n" + summonThedate +
"\n" + summonHost + "\n" + summonPath + "\n" + summonQS + "\n"
summonAuthstring = "Summon "+summonAccessID+';'+summonDigest
summonAuthstring = summonAuthstring.replace('\n','')
On Tue, Oct 26, 2010 at 6:46 PM, Godmar Back <[log in to unmask]> wrote:
> Unlike Link/360, Serials Solution's Summon API is extremely cumbersome to
> use - requiring, for instance, that requests be digitally signed. (*)
> Has anybody developed a proxy server for Summon that makes its API public
> (e.g. receives requests, signs them, forwards them to Summon, and relays the
> result back to a HTTP client?)
> Serials Solutions publishes some PHP5 and Ruby sample code in two API
> libraries (**), but these don't appear to be fully fledged nor
> easy-to-install solutions. (Easy to install here is defined as an average
> systems librarian can download them, provide the API key, and have a running
> solution in less time than it takes to install Wordpress.)
> - Godmar
> (*) http://api.summon.serialssolutions.com/help/api/authentication
> (**) http://api.summon.serialssolutions.com/help/api/code