SlideShare a Scribd company logo
Getting started with the Trove API
OVERVIEW OF THE NLA TROVE API
Operations:
•   Search across records
•   Get information about a single
    item
• Look up associated data
Requesting access:
• Non-commercial use: sign up for Trove and fill in the form under “For
  Developers” to obtain an API key.
• Commercial use: Sign up for Trove and then contact NLA to request access.

          Check the Trove API Terms of Use e.g. display “Powered by Trove” icon or Trove
          persistent ID when displaying results. Be aware of copyright of materials returned through
          search.

                                                                              Not available:
                                                                              • MARC records
          See http://trove.nla.gov.au/general/api                             • Full text
                                                                              • Book covers
SEARCH
http://api.trove.nla.gov.au/result?
 key= <your api key>
 &encoding= <json or xml>
 &zone= <book, newspaper etc>
 &q= <search term>
 &sortBy= <datedesc or dateasc
                     or relevance>
 &callback=?


                                                        Code example:
                                           http://jsfiddle.net/AnnaGerber/Pwuff/




               See http://trove.nla.gov.au/general/api-technical for more details
GET METADATA
Get metadata for works, newspapers articles or lists:


http://api.trove.nla.gov.au/work/ <work id> ?key= <your api key>
http://api.trove.nla.gov.au/newspaper/ <newspaper id> ?key= <your api key>
http://api.trove.nla.gov.au/list/ <list id> ?key= <your api key>


Useful parameters:
&encoding= <xml or json>
&callback=?
&reclevel=<full or brief>

                                                        <article id="18342701" url="/newspaper/18342701">
Example metadata for newspaper article                   <heading>The Ladies' Column. Tired Mothers.</heading>
                                                         <category>Article</category>
with id 18342701                                         <title id="42">The Queenslander (Brisbane, Qld. : 1866 - 1939)</title>
                                                         <date>1876-05-27</date>
encoding=xml                                             <page>11</page>
                                                         <pageSequence>11</pageSequence>
                                                         <troveUrl>http://trove.nla.gov.au/ndp/del/article/18342701</troveUrl>
                                                        </article>




          See http://trove.nla.gov.au/general/api-technical for more details
LOOK UP ASSOCIATED DATA
List or look up additional information for newspapers and contributors:


List newspaper titles (state parameter is optional)
http://api.trove.nla.gov.au/newspaper/titles?key=<your api key>
&state=<nsw, act, qld, tas, sa, nt, wa, vic or national>


Look up newspaper details (years and range parameters are optional)
http://api.trove.nla.gov.au/newspaper/title/ <newspaper id> ?key=<your api key>
&include=years&range=19260101-19271231


List all contributors (q parameter to search by name is optional)
http://api.trove.nla.gov.au/contributor?key=<your api key>&q=<search term>


Look up contributor details
http://api.trove.nla.gov.au/contributor/ <contributor id> ?key=<your api key>




                                                                          Generic parameters always apply:

                                                                          &encoding= <xml or json>
                                                                          &callback=?

More Related Content

PPTX
Database resources geological sciences 2014
 
PPTX
OData RESTful implementation
PPT
2310 b xc
KEY
Semantic web application architecture
PDF
ODP
Creating APIs over RDF
PPT
5 ref works 2.0 refgrab it
 
PPTX
Entity identification and extraction
Database resources geological sciences 2014
 
OData RESTful implementation
2310 b xc
Semantic web application architecture
Creating APIs over RDF
5 ref works 2.0 refgrab it
 
Entity identification and extraction

Similar to Getting started with the Trove API (20)

PPT
Ideas for how volunteers at cultural heritage institutions can help, using Tr...
PPTX
Improve your trove skills
PPTX
Trovefor teachers
PDF
National library of australia
PPT
Best of Trove
PPT
Collecting sharing and improving data: changing roles for librarians and user...
PPTX
National Library of Australia -Trove
PDF
Trove -- It's bigger on the inside...
PPT
Finding Information Just Got Easier for Historians. Lachlan Macquarie:200 yea...
PPTX
ISI 5121 Trove Presentation
DOCX
Tips on Searching for files on the Internet
DOCX
Internet Searching
PPT
Trove: A Government 2.0 Showcase August 2010, Australian Parliament
PDF
The National Library of Australia's New Discovery Service
PDF
Nikunau
PPT
OLLI Workshop : Beyond The Basics of Google Searching April 2009
PPT
Developments in Access to Art Information: Trove. Presentation at ARLIS confe...
PPTX
Using Yahoo Pipes
Ideas for how volunteers at cultural heritage institutions can help, using Tr...
Improve your trove skills
Trovefor teachers
National library of australia
Best of Trove
Collecting sharing and improving data: changing roles for librarians and user...
National Library of Australia -Trove
Trove -- It's bigger on the inside...
Finding Information Just Got Easier for Historians. Lachlan Macquarie:200 yea...
ISI 5121 Trove Presentation
Tips on Searching for files on the Internet
Internet Searching
Trove: A Government 2.0 Showcase August 2010, Australian Parliament
The National Library of Australia's New Discovery Service
Nikunau
OLLI Workshop : Beyond The Basics of Google Searching April 2009
Developments in Access to Art Information: Trove. Presentation at ARLIS confe...
Using Yahoo Pipes
Ad

More from Anna Gerber (20)

PDF
Internet of Things (IoT) Intro
PPTX
How the Web works
PDF
Do you want to build a robot
PDF
"Serverless" express
PDF
Iot 101
PPTX
Adding Electronics to 3D Printed Action Heroes
PPTX
3D Printing Action Heroes
PPTX
3D Sculpting Action Heroes
PDF
International NodeBots Day Brisbane roundup (BrisJS)
PDF
JavaScript Robotics
PDF
Intro to Electronics in Python
PDF
Data Visualisation Workshop (GovHack Brisbane 2014)
PPTX
Supporting Open Scholarly Annotation
PPTX
Supporting Web-based Scholarly Annotation
PDF
Annotations Supporting Scholarly Editing (OA European Roll Out)
PDF
Annotation Tools (OA European Roll Out)
PDF
Intro to data visualisation
PPTX
Annotations Supporting Scholarly Editing
PPT
Intro to Java
PPTX
HackFest Brisbane: Discover Brisbane
Internet of Things (IoT) Intro
How the Web works
Do you want to build a robot
"Serverless" express
Iot 101
Adding Electronics to 3D Printed Action Heroes
3D Printing Action Heroes
3D Sculpting Action Heroes
International NodeBots Day Brisbane roundup (BrisJS)
JavaScript Robotics
Intro to Electronics in Python
Data Visualisation Workshop (GovHack Brisbane 2014)
Supporting Open Scholarly Annotation
Supporting Web-based Scholarly Annotation
Annotations Supporting Scholarly Editing (OA European Roll Out)
Annotation Tools (OA European Roll Out)
Intro to data visualisation
Annotations Supporting Scholarly Editing
Intro to Java
HackFest Brisbane: Discover Brisbane
Ad

Recently uploaded (20)

PPTX
Presentation on interview preparation.pt
PPT
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
PPTX
PERDEV-LESSON-3 DEVELOPMENTMENTAL STAGES.pptx
PPTX
UNIVERSAL HUMAN VALUES for NEP student .pptx
PDF
technical writing on emotional quotient ppt
PPTX
Identity Development in Adolescence.pptx
PPTX
Learn how to use Portable Grinders Safely
PPT
proper hygiene for teenagers for secondary students .ppt
PPTX
Emotional Intelligence- Importance and Applicability
PDF
Quiet Wins: Why the Silent Fish Survives.pdf
PPTX
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
PPTX
Travel mania in india needs to change the world
DOCX
Boost your energy levels and Shred Weight
PPTX
Commmunication in Todays world- Principles and Barriers
PPTX
Pradeep Kumar Roll no.30 Paper I.pptx....
PDF
⚡ Prepping for grid failure_ 6 Must-Haves to Survive Blackout!.pdf
PPTX
show1- motivational ispiring positive thinking
PPTX
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
PDF
My 'novel' Account of Human Possibility pdf.pdf
PDF
Top 10 Visionary Entrepreneurs to Watch in 2025
Presentation on interview preparation.pt
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
PERDEV-LESSON-3 DEVELOPMENTMENTAL STAGES.pptx
UNIVERSAL HUMAN VALUES for NEP student .pptx
technical writing on emotional quotient ppt
Identity Development in Adolescence.pptx
Learn how to use Portable Grinders Safely
proper hygiene for teenagers for secondary students .ppt
Emotional Intelligence- Importance and Applicability
Quiet Wins: Why the Silent Fish Survives.pdf
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
Travel mania in india needs to change the world
Boost your energy levels and Shred Weight
Commmunication in Todays world- Principles and Barriers
Pradeep Kumar Roll no.30 Paper I.pptx....
⚡ Prepping for grid failure_ 6 Must-Haves to Survive Blackout!.pdf
show1- motivational ispiring positive thinking
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
My 'novel' Account of Human Possibility pdf.pdf
Top 10 Visionary Entrepreneurs to Watch in 2025

Getting started with the Trove API

  • 2. OVERVIEW OF THE NLA TROVE API Operations: • Search across records • Get information about a single item • Look up associated data Requesting access: • Non-commercial use: sign up for Trove and fill in the form under “For Developers” to obtain an API key. • Commercial use: Sign up for Trove and then contact NLA to request access. Check the Trove API Terms of Use e.g. display “Powered by Trove” icon or Trove persistent ID when displaying results. Be aware of copyright of materials returned through search. Not available: • MARC records See http://trove.nla.gov.au/general/api • Full text • Book covers
  • 3. SEARCH http://api.trove.nla.gov.au/result? key= <your api key> &encoding= <json or xml> &zone= <book, newspaper etc> &q= <search term> &sortBy= <datedesc or dateasc or relevance> &callback=? Code example: http://jsfiddle.net/AnnaGerber/Pwuff/ See http://trove.nla.gov.au/general/api-technical for more details
  • 4. GET METADATA Get metadata for works, newspapers articles or lists: http://api.trove.nla.gov.au/work/ <work id> ?key= <your api key> http://api.trove.nla.gov.au/newspaper/ <newspaper id> ?key= <your api key> http://api.trove.nla.gov.au/list/ <list id> ?key= <your api key> Useful parameters: &encoding= <xml or json> &callback=? &reclevel=<full or brief> <article id="18342701" url="/newspaper/18342701"> Example metadata for newspaper article <heading>The Ladies' Column. Tired Mothers.</heading> <category>Article</category> with id 18342701 <title id="42">The Queenslander (Brisbane, Qld. : 1866 - 1939)</title> <date>1876-05-27</date> encoding=xml <page>11</page> <pageSequence>11</pageSequence> <troveUrl>http://trove.nla.gov.au/ndp/del/article/18342701</troveUrl> </article> See http://trove.nla.gov.au/general/api-technical for more details
  • 5. LOOK UP ASSOCIATED DATA List or look up additional information for newspapers and contributors: List newspaper titles (state parameter is optional) http://api.trove.nla.gov.au/newspaper/titles?key=<your api key> &state=<nsw, act, qld, tas, sa, nt, wa, vic or national> Look up newspaper details (years and range parameters are optional) http://api.trove.nla.gov.au/newspaper/title/ <newspaper id> ?key=<your api key> &include=years&range=19260101-19271231 List all contributors (q parameter to search by name is optional) http://api.trove.nla.gov.au/contributor?key=<your api key>&q=<search term> Look up contributor details http://api.trove.nla.gov.au/contributor/ <contributor id> ?key=<your api key> Generic parameters always apply: &encoding= <xml or json> &callback=?