colin carter - lsps and apis
DESCRIPTION
SCONUL Conference 20-21 June 2013, Dublin SCONUL Fringe session - LSPs and APIs: Integration and the next generation of library management systems, with Colin Carter, Sales Account Manager for the UK and Northern Europe, Innovative Interfaces Inc.TRANSCRIPT
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
LSPs and APIs
Colin Carter [email protected]
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
LSPs and APIs
• A bit of background
• What do we need from APIs
• How Innova@ve are approaching this
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
A liBle bit of history…
• Integra@on is not new – Bibliographic data sources – EDI integra@on – Student registry
• Batch processing • Web services
– Self-‐service
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Prolifera@on
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Why do we need APIs?
• Flexibility of the applica@on
• Giving libraries choice and control
• Engaging with new/different parts of your ins@tu@ons
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
APIs vs SQL Access
• Documented
• Different views
• Version controlled
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
What do we need from APIs?
• Documenta@on
• Developer community
• Need to be used by the company as well as the community
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Why Sierra Open Architecture
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
SIERRA ARCHITECTURE
Presenta@on Layer
Data Access Layer
SQL Database
Business Services Layer RESTful APIs SIP2, NCIP
INN-‐Reach Decision Center
SQL Queries Crystal Reports
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
SIERRA OPEN DATA ACCESS
• Query through ‘views’ – Simplifies reporting on a normalized database – Allows us to optimize efficiency – Encapsulate schema so it can evolve
• Data manipulation through APIs – Ensures consistent enforcement of business
logic – Significantly reduces interfacing effort – Allows underlying implementation to evolve
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
SQL Access
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Sierra Direct SQL Access
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
• Ease querying for the report • A ‘façade’ in front of one or more tables • They are read-‐only • Insulate you from changes so we don't break your reports
What is a ‘view’?
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
SELECT p.record_num AS "patron_record", p.expiration_date_gmt AS "expiration_date", count(c.id) AS "checkout_count" FROM sierra_view.patron_view p JOIN sierra_view.checkout c ON c.patron_record_id = p.id WHERE p.expiration_date_gmt < current_date GROUP BY 1,2 ORDER BY 3 desc
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Expired patron records with checked out items
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Create Reports with SQL
Another sample report could be quickly run to identify all bibliographic records with ten or more holds waiting. Note that the library chose to include the date the first item was cataloged. This library would use the gathered information to plan additional acquisitions because their DVD collec-tion is quite heavily used.
CONCLUSION Sierra provides real-world advantages to today’s libraries. With the Sierra Open Database and Sierra DNA, librarians can have direct access to all of the libraries’ data, more quickly, than in any other solution. Properly informed and applied, decisions made by librarians can shape collec-tions, save significant funds in library operations, and increase patron satisfaction by delivering material in mul-tiple formats for their use.
Sierra brings powerful, sophisticated data access to its libraries. Library staff can take advantage of valuable, real time access to all Sierra’s underlying bibliographic and transactional data through the application of Sierra DNA and Sierra Views. Best yet, Sierra is developed, enhanced, and backed by Innovative so you’ll know that we’ll be there for you when you need us. Open data access, documented design, and trusted support lead to a wealth of possibilities for your library.
For more information: Web: sierra.iii.com Email: [email protected] Call: 800-878-6600
facebook.com/innovativeinterfaces twitter.com/iii_Innovative
© Innovative Interfaces, Inc. 5850 Shellmound Way – Emeryville, CA 94608 Millennium™ and Sierra™ are trademarks of Innovative Interfaces, Inc.
University Library
County Library System
Another sample report could be quickly run to identify all bibliographic records with ten or more holds waiting. Note that the library chose to include the date the first item was cataloged. This library would use the gathered information to plan additional acquisitions because their DVD collec-tion is quite heavily used.
CONCLUSION Sierra provides real-world advantages to today’s libraries. With the Sierra Open Database and Sierra DNA, librarians can have direct access to all of the libraries’ data, more quickly, than in any other solution. Properly informed and applied, decisions made by librarians can shape collec-tions, save significant funds in library operations, and increase patron satisfaction by delivering material in mul-tiple formats for their use.
Sierra brings powerful, sophisticated data access to its libraries. Library staff can take advantage of valuable, real time access to all Sierra’s underlying bibliographic and transactional data through the application of Sierra DNA and Sierra Views. Best yet, Sierra is developed, enhanced, and backed by Innovative so you’ll know that we’ll be there for you when you need us. Open data access, documented design, and trusted support lead to a wealth of possibilities for your library.
For more information: Web: sierra.iii.com Email: [email protected] Call: 800-878-6600
facebook.com/innovativeinterfaces twitter.com/iii_Innovative
© Innovative Interfaces, Inc. 5850 Shellmound Way – Emeryville, CA 94608 Millennium™ and Sierra™ are trademarks of Innovative Interfaces, Inc.
University Library
County Library System
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
APIs
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
What Have We Been Hearing And Seeing?
Image Source: Nielson.com
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
What They Will Do For You!
• Extend core LSP to beBer serve patrons
• New uses • Solve old problems • ABract new users • Enable you to engage developers
• Allow you to rapidly prototype
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Development Model
Library Idea Ini/al
Prototype App for
Library Use
Share with Community
Expand App Use
Mainstream Feature /
App
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
What We Want To Provide
• Well Defined APIs • Support • Developer Community
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Sierra REST API Objec@ves
• Maximize developer produc@vity and success
• “Industry standard” • Consistent, easy to use syntax • Extensible • Discoverable • Manage sophis@cated data • Small footprint/low server impact
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Example Request GET /v2/bibs/b11505243?fields=bibinfo,holds
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Example Response { "key": “b11505243”, “bibinfo": {”@tle" : [{"value": ” The Big Short: Inside the Doomsday Machine"}],
”author” : [{"value": ” Michael Lewis"}], ”publisher” : [{"value": ” W.W. Norton & Company; 1st Edi@on (March 15, 2010)"}]},
"holds": { "links": { "self": { "href": ”hBp://rest.mylib.com/v2/holds" }}, "array": [ { "key": "hold-‐36”, "links": { "self": { "href": ”hBp://rest.mylib.com/v2/holds/hold-‐36" }},
“aBributes": { ”pickupAtName": ”Main Library”, ”datePlaced": ” 2013-‐03-‐25T10:15:56-‐08:00”} “patron": { "info": [ ”fullName": [{"value": ” Michael Pollan"}]} },
{ "key": "hold-‐247", "links": { "self": { "href": ”hBp://rest.mylib.com/v2/holds/hold-‐247" }},
“aBributes": { ”pickupAtName": ” Bookmobile”, ”datePlaced”: ” 2013-‐03-‐25T10:56:22-‐08:00”} “patron": { ”info": [ ”fullName": [{"value": ” Michael Chabon”}}] }
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
RESTful “Ecosystem”
• Java • JavaScript • PHP • Ruby • iOS • Flash • Perl • etc
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Hot Authors at The Public Library of Cincinna@ and Hamilton County
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
Developer Community
Conceptual Illustra/on
• API Defini@ons • Discussions • Code Samples
• Code Sharing • “Sandbox” • SQL as well
Copyright Innova/ve Interfaces. Not to be duplicated or distributed without permission of Innova/ve Interfaces.
THANK YOU!