Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Demonstrates how to work with state educational standards data using the Knowledge Graph REST API, covering:

  • API Integration: Using REST API to query standards frameworks and items
  • Standards Querying: Filtering standards by jurisdiction, grade level, and type

Note: The API is in limited early release and is only available to some private beta users. Because the API is an early release, current users should expect occasional breaking changes.

Prerequisites

  • Node.js 18 or higher (for native fetch API support)
  • A Learning Commons Platform account
  • An API key generated in the Learning Commons Platform

Dependencies

  • dotenv: Environment variable management

Quick Start

  1. Clone and Install:

    git clone git@github.com:learning-commons-org/knowledge-graph.git
    cd tutorials/working_with_standards/js
    npm install
  2. Set Environment Variables (create .env file):

    # Knowledge Graph API credentials - get these from the Learning Commons Platform
    API_KEY=your_api_key_here
    BASE_URL=https://api.learningcommons.org/knowledge-graph/v0
  3. Run Tutorial:

    npm start