https://github.com/uts-cic/ontask-la-api-integration
Pre populate ontask with Canvas data pulled from LA API
https://github.com/uts-cic/ontask-la-api-integration
Last synced: 9 months ago
JSON representation
Pre populate ontask with Canvas data pulled from LA API
- Host: GitHub
- URL: https://github.com/uts-cic/ontask-la-api-integration
- Owner: uts-cic
- Created: 2019-03-04T21:33:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T21:36:32.000Z (over 7 years ago)
- Last Synced: 2025-01-13T08:12:36.703Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ontask-la-api-integration
Pre-populate ontask workflow with Canvas data
## Node 8.10 Lambda function
This uses serverless to deploy lambda function to AWS and has all the environment variables set via serverless.yml. If you prefer thsi method create a new file serverless.yml
alternavtively this can be set via the .env file
This example fetches quizz data using la-api and then uses ontask API to populate the resp worflows
Assumptions:
- A workflow already exists in Ontask
- Canvas data already is integrated into La-api
`This code can be further extended to generate a new workflow using ontask API and then populate it but for now they are sepcified via environment variables`
Following evn variables need to be set via .env or via serverless.yml
```
LA_API_ENDPOINT:
CANVAS_COURSE_NAME:
ONTASK_API_HOST:
ONTASK_AUTH:
ONTASK_WORKFLOW_ID:
```