A rough plan for surfacing HathiTrust ETAS materials in our catalogue and making it as easy as possible for our users:
Given an ISBN, check https://catalog.hathitrust.org/api/volumes/brief/json/isbn:<isbn> for HT records (could be ISSN or OCLCnums too)
If there's an HT record, add a link to https://babel.hathitrust.org/cgi/ping/pong?target=https://catalog.hathitrust.org/Search/Home?lookfor=<isbn>&searchtype=isn&ft=ft&setft=true&signon=swle:https://connect.laurentian.ca/idp so that users log into our Shibboleth IdP and can see the full text of the item.
And I have it working now, whee! Although I need to tighten and tidy up the code a bit. Ended up using the record URL returned by the API rather than launching another search, which also gives a much cleaner URL for the user.
code4lib.social is a GLAM-themed Mastodon Instance.