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.
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Colin Carter - LSPs and APIs
1. Copyright
Innova/ve
Interfaces.
Not
to
be
duplicated
or
distributed
without
permission
of
Innova/ve
Interfaces.
LSPs
and
APIs
Colin
Carter
ccarter@iii.com
2. 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
3. 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
5. 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
6. 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
7. 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
8. Copyright
Innova/ve
Interfaces.
Not
to
be
duplicated
or
distributed
without
permission
of
Innova/ve
Interfaces.
Why
Sierra
Open
Architecture
9. 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
10. 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
12. Copyright
Innova/ve
Interfaces.
Not
to
be
duplicated
or
distributed
without
permission
of
Innova/ve
Interfaces.
Sierra
Direct
SQL
Access
13. 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’?
15. 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
16. Copyright
Innova/ve
Interfaces.
Not
to
be
duplicated
or
distributed
without
permission
of
Innova/ve
Interfaces.
Expired
patron
records
with
checked
out
items
17. 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-
CONCLUSION
Sierra provides r
With the Sierra O
can have direct a
quickly, than in a
applied, decision
tions, save signifi
increase patron s
tiple formats for
Sierra brings pow
libraries. Library
time access to al
transactional dat
and Sierra Views
and backed by In
for you when yo
University Library
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.
County Library System
19. 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
20. 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
21. 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
22. 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
23. 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
24. 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
25. 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”}}]
}
26. 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
27. 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
28. 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