@medable/mdctl-axon-tools

1.0.72 • Public • Published

mdctl-axon-tools :: Tools For interaction with Axon orgs

Axon Tools Module

This module provides tools for interacting with axon orgs

How to use

const { Client } = require('@medable/mdctl-api'),
      { StudyManifestTools } = require('@medable/mdctl-axon-tools'),
      exportEnv = require('../lib/env/export'),
      client = new Client({
                strictSSL: false,
                environment: {
                endpoint: 'https://localhost',
                env: 'test'
            },
            credentials: {
                type: 'password',
                apiKey: 'abcdefghijklmnopqrstuv',
                username: 'test@medable.com',
                password: 'password'
            }
        })
        


async function exportStudy(client) {

    const studyTools = new StudyManifestTools(client, params)

    const { manifest } = await studyTools.getStudyManifest()
    const options = {
        format: 'json',
        manifest
    }
    console.log('Starting Study Export')
    await exportEnv({ client, ...options })

}

exportStudy(client) 

Readme

Keywords

none

Package Sidebar

Install

npm i @medable/mdctl-axon-tools

Weekly Downloads

208

Version

1.0.72

License

MIT

Unpacked Size

228 kB

Total Files

33

Last publish

Collaborators

  • harishva
  • myerkes-md
  • cscherer-md
  • __jacobi
  • jamessas
  • trsmith
  • grobledo
  • oferrero.medable