2.5.0 • Published 5 months ago

@xtravision/xtravision-node v2.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

xtravision-node

The official node.js library for the XtraVision API.

For Demo Application:

  1. Clone repo and install dependencies using below commands
    git clone https://github.com/xtravision-ai/xtravision-node.git
    yarn install
  1. Update credentials in index.ts file (demo/index.ts)

    let credentials = {
        orgId: "__ORG-ID__",
        appId: "__App-ID__",
        appSecret:"__App-Secret-Key__",
        userId: null
    }

    Kindly update your testing user details also in same file. (firstName, lastName and email).

  2. Compile and run using below command on root directory:

    yarn build
    yarn start:demo

    Auth token and other response data will be printed in console log.

For Developer/Team Xtra :

For quick start use below command: 1. Clone repo and install dependencies using below commands

```bash
git clone https://github.com/xtravision-ai/xtravision-node.git
yarn install
````
  1. (for Linux/Mac) use the below command to set the Server URL and all required credentials to generate auth token and other API testing

    XTRA_SERVER_URL=https://saasapi.xtravision.ai/api/v1/graphql XTRA_ORG_ID=__ORG-ID__ XTRA_APP_ID=__APP-ID__ XTRA_APP_SECRET=__App-Secret__ XTRA_APP_USER=__NAME@xtravision.ai__ yarn start:dev

    changes server url as per your demand (prod/staging/local)

SDK API:

2.5.0

5 months ago

2.3.0

12 months ago

2.2.0

1 year ago

2.4.0

11 months ago

2.1.0

1 year ago

2.0.0

1 year ago

1.0.0

2 years ago