Skip to content

Commit

Permalink
feat: intake24 v4 api transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashroch committed Aug 2, 2023
1 parent d505b13 commit e8d041b
Show file tree
Hide file tree
Showing 15 changed files with 1,621 additions and 817 deletions.
10 changes: 7 additions & 3 deletions .env-template
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ NODE_ENV=development
APP_NAME=Intake24 Tasks

# Intake24 instance API
IT24_API_URL=
IT24_API_USERNAME=
IT24_API_PASSWORD=
API_V3_URL=
API_V3_USERNAME=
API_V3_PASSWORD=

API_V4_URL=
API_V4_USERNAME=
API_V4_PASSWORD=

# Intake24 databases
IT24_DB_FOODS_HOST=
Expand Down
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a href="https://nodejs.org/en/about/releases">
<img src="https://img.shields.io/badge/node-%3E%3D%2014.20.0-success" alt="node compatibility">
<img src="https://img.shields.io/badge/node-%3E%3D%2016-success" alt="node compatibility">
</a>
<a href='https://github.com/MRC-Epid-it24/tasks/actions' target="__blank">
<img alt="Build Status" src='https://github.com/MRC-Epid-it24/tasks/workflows/CI/badge.svg'>
Expand All @@ -20,7 +20,7 @@ Interface between Intake24 API and Clinical DB

## Requirements

Make sure you have Node.js (14+) and npm (7+) installed.
Make sure you have Node.js (16+) and npm (7+) installed.

MSSQL lib requires ODBC driver headers to be installed:

Expand Down Expand Up @@ -73,6 +73,7 @@ Currently implemented tasks are:
"name": "EXPORT_SURVEY_DATA",
"cron": "* * * * *",
"params": {
"apiVersion": "v3" | "v4",
"survey": "demo",
"exportOffset": 7,
"exportVersion": "v2"
Expand Down
Loading

0 comments on commit e8d041b

Please sign in to comment.