Child pages
  • Request bibliographic information by record ID
Skip to end of metadata
Go to start of metadata

This request will return bibliographic information from HOLLIS, VIA, or journal article data resources (DOI, Pubmed).

URL request syntax

The base syntax is:

http://webservices.lib.harvard.edu/rest/{record_format}/{source}/{id}

With optional jsonp callback parameter:

http://webservices.lib.harvard.edu/rest/{record_format}/{source}/{id}?jsonp={callback function name}

Parameters

Parameter

Value

Description

record_format

cite, dc, mods, marc

Specifies format of the returned record -- cite provides a short LTS-defined record used for the Reserves Tool, dc provides a simple Dublin Core record, mods provides a MODS 3.5 record, marc provides a MARCXML record (only available for HOLLIS requests).

source

hollis, via, journal

Source of the data that is returned.  If hollis or via is used, Lookup will return data from the HOLLIS or VIA catalog. If journal is used, data will be returned from a source of journal articles. The actual journal source (CrossRef or PubMed) is controlled by the id value.

id

Record identifier in the source system

If hollis is the source, the id will be system number of a single HOLLIS catalog record.  With HOLLIS now being supported by ALMA, this is the MMS ID, otherwise known as the "Alma ID". 

(warning) For the sake of backward compatibility of already written scripts, the old HOLLIS ("Aleph") ID continues to be supported.

If journal is the source, the id can be a DOI or PMID:
-- a DOI (Digital Object Identifier) will retrieve data for a single journal article from CrossRef.org.  DOI format is an alphanumeric string of arbitrary length (ex: 10.1037/a0015065).  Forward slashes in a DOI must be URL-encoded as "%2f".
-- a PMID (PubMed ID) will retrieve data for a single journal article from PubMed.  PMID format is a numeric string (ex: 18349090).

jsonp

Callback function name

The name of the callback function to wrap around JSON data.  Example: ?jsonp=ws_results

Examples

Requesting a Cite record for a DOI (10.1111/fj.1468-0262.2004.00485.x):
(Note that the slash ("/") character must be URL-encoded as "%2f".)

http://webservices.lib.harvard.edu/rest/cite/journal/10.1111%2fj.1468-0262.2004.00485.x
Response
<?xml version="1.0" encoding="UTF-8"?>
<rlistFormat>
<journalArticle>
<authors>
<authorName>
<authorLast>Chamberlain</authorLast>
<authorFirst>Gary</authorFirst>
</authorName>
</authors>
<articleTitle>Random Effects Estimators with many Instrumental Variables</articleTitle>
<journalTitle>Econometrica</journalTitle>
<modsDate>2004</modsDate>
<year>2004</year>
<volume>72</volume>
<issue>1</issue>
<startPage>295</startPage>
<endPage>306</endPage>
<doi>10.1111/j.1468-0262.2004.00485.x</doi>
<issn>0012-9682</issn>
</journalArticle>
</rlistFormat>

Cite record for HOLLIS ID 011557057 (XML)

Request
http://webservices.lib.harvard.edu/rest/cite/hollis/011557057
Response
<?xml version="1.0" encoding="UTF-8" ?> 
 <rlistFormat>
   <hollis>
     <authors>
       <editorName>
         <editorLast>Flanagan</editorLast> 
         <editorFirst>David.</editorFirst> 
       </editorName>
       <editorName>
         <editorLast>Matsumoto</editorLast> 
         <editorFirst>Yukihiro.</editorFirst> 
       </editorName>
     </authors>
     <title>The Ruby programming language</title> 
     <pubInfo>Sebastopol, Calif: O'Reilly</pubInfo> 
     <modsDate>2008</modsDate> 
     <year>2008</year> 
     <edition>1st ed.</edition> 
     <pages>xi, 429 p.</pages> 
     <isbn>9780596516178</isbn> 
     <isbn>0596516177</isbn> 
     <uri>http://nrs.harvard.edu/urn-3:hul.ebookbatch.SAFAR_batch:9780596516178</uri> 
     <hollisId>011557057-8</hollisId> 
   </hollis>
 </rlistFormat>

Cite record for a HOLLIS ID 011557057 (JSON)

curl -v -X GET -H"Accept: application/json" http://webservices.lib.harvard.edu/rest/cite/hollis/011557057
Response
{"rlistFormat": {"hollis": {
  "authors": {"editorName": [
    {
      "editorFirst": "David.",
      "editorLast": "Flanagan"
    },
    {
      "editorFirst": "Yukihiro.",
      "editorLast": "Matsumoto"
    }
  ]},
  "edition": "1st ed.",
  "hollisId": "011557057-8",
  "isbn": [
    9780596516178,
    596516177
  ],
  "modsDate": 2008,
  "pages": "xi, 429 p.",
  "pubInfo": "Sebastopol, Calif: O'Reilly",
  "title": "The Ruby programming language",
  "uri": "http://nrs.harvard.edu/urn-3:hul.ebookbatch.SAFAR_batch:9780596516178",
  "year": 2008
}}}

Cite record for a HOLLIS ID 011557057 (JSON)

curl -v -X GET -H"Accept: application/json" http://webservices.lib.harvard.edu/rest/cite/hollis/011557057

Cite record for a HOLLIS ID 011557057 (JSON) with JSONP wrapper function

curl -v -X GET -H"Accept: application/json" http://webservices.lib.harvard.edu/rest/cite/hollis/011557057?jsonp=ws_result

Requesting a Dublin Core record for a HOLLIS ID (011557057):

http://webservices.lib.harvard.edu/rest/dc/hollis/011557057?jsonp=record
Result of call
record({"oai_dc:dc": {
  "dc:creator": "Flanagan, David.",
  "dc:date": 2008,
  "dc:description": [
    "David Flanagan and Yukihiro Matsumoto.",
    "\"Covers Ruby 1.8 and 1.9\"--Cover."
  ],
  "dc:format": [
    "xi, 431 p. : ill. ; 24 cm.",
    "print"
  ],
  "dc:identifier": [
    "isbn: 9780596516178",
    "isbn: 0596516177",
    "lccn: ^^2008297501",
    990115570570203941,
    {
      "authority": "lcc",
      "content": "QA76.64 .F59 2008"
    },
    {
      "authority": "ddc",
      "content": "005.1/17",
      "edition": 22
    }
  ],
  "dc:language": "eng",
  "dc:publisher": "O'Reilly",
  "dc:subject": [
    "Object-oriented programming (Computer science)",
    "Ruby (Computer program language)"
  ],
  "dc:title": "Ruby programming language",
  "dc:type": "text",
  "xmlns:oai_dc": "http://www.openarchives.org/OAI/2.0/oai_dc/"
}})

 

Requesting a Dublin Core record for a VIA ID (HUAM305937):

http://webservices.lib.harvard.edu/rest/dc/via/HUAM305937
Response
<?xml version="1.0" encoding="UTF-8" ?> 
  <oai_dc:dc 
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" 
xmlns:dc="http://purl.org/dc/elements/1.1/" 
xmlns:dcterms="http://purl.org/dc/terms/" 
xmlns:gen="http://example.org/gen/terms#" 
xmlns:mods="http://www.loc.gov/mods/v3" 
xmlns:xlink="http://www.w3.org/1999/xlink" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <dc:title>Luna Moth on a Bleeding Heart</dc:title> 
  <dc:creator>Harris Miss</dc:creator> 
  <dc:subject>Drawings</dc:subject> 
  <dc:description>The moth (Actias luna) sits on a Dicentra spectabilis or Bleeding Heart plant.</dc:description> 
  <dc:description>Credit
 Line: Harvard Art Museum/Fogg Museum, Gift of Belinda L. Randall from 
the collection of John Witt Randall</dc:description> 
  <dc:description>American</dc:description> 
  <dc:description>Watercolor and white gouache over graphite on off-white wove paper</dc:description> 
  <dc:type>still image</dc:type> 
  <dc:type>drawing</dc:type> 
  <dc:format>25.4 x 24 cm (10 x 9 7/16 in.)</dc:format> 
  <dc:identifier>1898.437</dc:identifier> 
  <dc:identifier>uri: http://nrs.harvard.edu/urn-3:HUAM:75014_mddl</dc:identifier> 
  <dc:identifier>uri: http://nrs.harvard.edu/urn-3:HUAM:75014_thumb</dc:identifier> 
  <dc:identifier>HUAM305937</dc:identifier> 
  <dc:language /> 
  <gen:isAvailableAt>Harvard Art Museum : repository</gen:isAvailableAt> 
  <dc:rights>© President and Fellows of Harvard College</dc:rights> 
</oai_dc:dc>

Requesting a MODS record for a PubMed ID (92312):

http://webservices.lib.harvard.edu/rest/mods/journal/92312
Response
<?xml version="1.0" encoding="UTF-8" ?> 
<mods
 xmlns="http://www.loc.gov/mods/v3" 
xmlns:mods="http://www.loc.gov/standards/mods/v3/mods-3-2.xsd" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.2" 
xsi:schemaLocation="http://www.loc.gov/mods/v3 
http://www.loc.gov/standards/mods/v3/mods-3-2.xsd">
<titleInfo>
  <title>Augmentin Duo in the Treatment of Childhood Blepharokeratoconjunctivitis.</title> 
  </titleInfo>
<name type="personal">
  <namePart>Cehajic-Kapetanovic, Jasmina</namePart> 
<role>
  <roleTerm authority="marcrelator" type="text">author</roleTerm> 
  </role>
  </name>
<name type="personal">
  <namePart>Kwartz, Jeff</namePart> 
<role>
  <roleTerm authority="marcrelator" type="text">author</roleTerm> 
  </role>
  </name>
  <typeOfResource>text</typeOfResource> 
  <genre authority="local">journal article</genre> 
<originInfo>
  <dateIssued>2010</dateIssued> 
  </originInfo>
 
 <abstract>PURPOSE:To report the use of Augmentin Duo 400/57 
(GlaxoSmithKline, Middlesex, UK) in the treatment of childhood 
blepharokeratoconjunctivitis (BKC). METHODS:This is a retrospective 
interventional case series. The case notes of 7 consecutive patients 
treated with Augmentin Duo 400/57 for BKC during 18 months were 
reviewed. Diagnostic criteria for BKC were blepharitis including 
recurrent chalazia and meibomian gland dysfunction, eyelid margin 
telangiectasia and facial rosacea, recurrent episodes of chronic red 
eye, photophobia, watering, punctate superficial keratopathy, corneal 
neovascularization, and corneal ulcers. RESULTS:Seven children (age 
range: 6 to 14 years) were diagnosed as having BKC. All children 
received systemic Augmentin Duo 400/57 and showed considerable 
improvement within the first month of therapy. Six children had no 
recurrences during a mean follow-up of 6 months. No patients experienced
 any side effects from this treatment. CONCLUSIONS:Augmentin Duo 400/57 
has not previously been reported in the treatment of BKC in children. In
 this case series, Augmentin Duo 400/57 proved to be at least as 
effective as current treatments with systemic erythromycin or 
doxycycline with the advantage of a twice-daily dosage and a superior 
side-effect profile.Copyright 2010, SLACK Incorporated.</abstract>
 
<relatedItem type="host">
<titleInfo>
  <title>Journal of pediatric ophthalmology and strabismus</title> 
  </titleInfo>
  <identifier type="issn">0191-3913</identifier> 
  <identifier type="doi">10.3928/01913913-20100118-01</identifier> 
  <identifier type="pubmed">20143765</identifier> 
<part>
<extent unit="page">
  <start>1</start> 
  <end>5</end> 
  </extent>
  <date encoding="iso8601">20100208</date> 
  </part>
  </relatedItem>
 </mods>

 

Requesting a MODS record for an ALMA MMS ID (990115570570203941):

http://webservices.lib.harvard.edu/rest/mods/hollis/990115570570203941?jsonp=record

Response
record({"mods": {
  "classification": [
    {
      "authority": "lcc",
      "content": "QA76.64 .F59 2008"
    },
    {
      "authority": "ddc",
      "content": "005.1/17",
      "edition": 22
    }
  ],
  "identifier": [
    {
      "content": 9780596516178,
      "type": "isbn"
    },
    {
      "content": 596516177,
      "type": "isbn"
    },
    {
      "content": "^^2008297501",
      "type": "lccn"
    }
  ],
  "language": {"languageTerm": {
    "authority": "iso639-2b",
    "content": "eng",
    "type": "code"
  }},
  "name": [
    {
      "namePart": "Flanagan, David.",
      "type": "personal",
      "usage": "primary"
    },
    {
      "namePart": "Matsumoto, Yukihiro.",
      "type": "personal"
    }
  ],
  "note": [
    {
      "altRepGroup": 0,
      "content": "David Flanagan and Yukihiro Matsumoto.",
      "type": "statement of responsibility"
    },
    "\"Covers Ruby 1.8 and 1.9\"--Cover."
  ],
  "originInfo": {
    "dateIssued": 2008,
    "edition": "1st ed.",
    "issuance": "monographic",
    "place": [
      {"placeTerm": {
        "authority": "marccountry",
        "content": "cau",
        "type": "code"
      }},
      {"placeTerm": {
        "content": "Sebastopol, CA",
        "type": "text"
      }}
    ],
    "publisher": "O'Reilly"
  },
  "physicalDescription": {
    "extent": "xi, 431 p. : ill. ; 24 cm.",
    "form": {
      "authority": "marcform",
      "content": "print"
    }
  },
  "recordInfo": {
    "descriptionStandard": "aacr",
    "recordChangeDate": {
      "content": 2.0120330160854E13,
      "encoding": "iso8601"
    },
    "recordContentSource": {
      "authority": "marcorg",
      "content": "DLC"
    },
    "recordCreationDate": {
      "content": 80319,
      "encoding": "marc"
    },
    "recordIdentifier": 990115570570203941,
    "recordOrigin": "Converted from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5-mhpatch2.xsl (Patch of Revision 1.102-mpatch1 2014/10/30) Library Technology Services, Harvard University"
  },
  "subject": [
    {
      "authority": "lcsh",
      "topic": "Object-oriented programming (Computer science)"
    },
    {
      "authority": "lcsh",
      "topic": "Ruby (Computer program language)"
    }
  ],
  "titleInfo": {
    "nonSort": "The",
    "title": "Ruby programming language"
  },
  "typeOfResource": "text",
  "version": 3.5,
  "xsi:schemaLocation": "http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd"
}})

Requesting a MARCXML record for an old HOLLIS ("Aleph") ID (011557057):

http://webservices.lib.harvard.edu/rest/marc/hollis/011557057

 

  • No labels