API Documentation for Developers
Making calls to the NLM Learning Resources API is simple.
The API returns JSON and is easily parsed with a few lines of jQuery your web pages. See sample code for more details.
The Base URI is http://learn.nlm.nih.gov.
|Sample URI||Use case|
|/rest/learning-resources/all||Retrieves all learning resources.|
|/rest/subjects/all||Retrieves all subjects used to categorize learning resources.|
|/rest/learning-resources/L00079080||Retrieves one learning resource by identifier.|
|/rest/learning-resources/search?query=Searching PubMed||Searches the title, description, and subjects of learning resources for the string ‘Searching PubMed’.|
|/rest/learning-resources/search?subjects=S019080,S020080||Retrieves learning resources by subject identifier(s).|
|/rest/formats/all||Retrieves learning resources by subject identifier(s).|