Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load LibGuides via API? #180

Open
matt-bernhardt opened this issue Nov 8, 2016 · 0 comments
Open

Load LibGuides via API? #180

matt-bernhardt opened this issue Nov 8, 2016 · 0 comments
Assignees
Labels

Comments

@matt-bernhardt
Copy link
Member

Right now, the guides on the front page are loaded by parsing a static HTML document that is part of this theme: https://github.com/MITLibraries/MITlibraries-parent/blob/prod/guide-list.html

So long as this infrastructure doesn't need to change, there's no issue - it works. However, if the list of guides changes relatively quickly, then our local list risks becoming dated. In that case, it might be better to work out how to load guide titles from the Springshare API.

A sample query to retrieve guides is:
http://lgapi.libapps.com/1.1/guides?site_id=68&key=2c30812e5fcf5f9b5f7db47721ca053b&expand=owner

Documentation for the Springshare API can be found at:
https://mit.libapps.com/libguides/api.php?resource=1&version=1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant