BCLibraries / primo-services

MIT License
9 stars 4 forks source link

Availability information (question) #16

Open danmichaelo opened 9 years ago

danmichaelo commented 9 years ago

Would it be useful to extract availability information from the LIBRARIES-part (to avoid having to make an extra API call to Alma), or are there good reasons you don't do this currently?

Of course, you get some more information from Alma (or some other ILS), but in some cases all you need to know is the collection, call number and whether it's available or not, which could be extracted from

      "LIBRARY" : [
         {
            "status" : "available",
            "collection" : "REAL mag",
            "library" : "NTNU_UB1160103",
            "callNumber" : "546.65 Si6c",
            "url" : "OVP",
            "institution" : "NTNU_UB"
         },
         {
            "library" : "UBO1030310",
            "callNumber" : "F 9363 (Etter 1850)",
            "institution" : "UBO",
            "url" : "OVP",
            "collection" : "UREAL Fsaml. (k00439)",
            "status" : "available"
         }
   ]

or the availlibrary, which have the IDs as well, which is probably a good thing for deduped records...

     "availlibrary" : [
          "$$INTNU_UB$$LNTNU_UB1160103$$1REAL mag$$2546.65 Si6c$$Savailable$$X47BIBSYS_NTNU_UB$$Y1160103$$Za00347$$P2$$OBIBSYS_ILS71328732540002201",
          "$$IUBO$$LUBO1030310$$1UREAL Fsaml. (k00439)$$2F 9363 (Etter 1850)$$Savailable$$X47BIBSYS_UBO$$Y1030310$$Zk00439$$P2$$OBIBSYS_ILS71328732540002201"
     ]

We're just in the process of migrating to Alma, but as of what I've heard the availability status in Primo is supposed to be updated with the live Alma status with no significant delay.