Skip to content

Commit

Permalink
Update to use latest SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffski committed Jan 8, 2020
1 parent 5e112b7 commit e92a231
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 78 deletions.
2 changes: 1 addition & 1 deletion examples/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Shotstack = require('shotstack-sdk');

const defaultClient = Shotstack.ApiClient.instance;
const DeveloperKey = defaultClient.authentications['DeveloperKey'];
const api = new Shotstack.DefaultApi()
const api = new Shotstack.EndpointsApi();

let apiUrl = 'https://api.shotstack.io/stage';

Expand Down
2 changes: 1 addition & 1 deletion examples/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Shotstack = require('shotstack-sdk');

const defaultClient = Shotstack.ApiClient.instance;
const DeveloperKey = defaultClient.authentications['DeveloperKey'];
const api = new Shotstack.DefaultApi()
const api = new Shotstack.EndpointsApi();

let apiUrl = 'https://api.shotstack.io/stage';

Expand Down
2 changes: 1 addition & 1 deletion examples/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Shotstack = require('shotstack-sdk');

const defaultClient = Shotstack.ApiClient.instance;
const DeveloperKey = defaultClient.authentications['DeveloperKey'];
const api = new Shotstack.DefaultApi()
const api = new Shotstack.EndpointsApi();
const id = process.argv[2];

let apiUrl = 'https://api.shotstack.io/stage';
Expand Down
2 changes: 1 addition & 1 deletion examples/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Shotstack = require('shotstack-sdk');

const defaultClient = Shotstack.ApiClient.instance;
const DeveloperKey = defaultClient.authentications['DeveloperKey'];
const api = new Shotstack.DefaultApi()
const api = new Shotstack.EndpointsApi();

let apiUrl = 'https://api.shotstack.io/stage';

Expand Down
2 changes: 1 addition & 1 deletion examples/titles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Shotstack = require('shotstack-sdk');

const defaultClient = Shotstack.ApiClient.instance;
const DeveloperKey = defaultClient.authentications['DeveloperKey'];
const api = new Shotstack.DefaultApi()
const api = new Shotstack.EndpointsApi();

let apiUrl = 'https://api.shotstack.io/stage';

Expand Down
131 changes: 59 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"author": "Jeff Shillitto",
"license": "MIT",
"dependencies": {
"shotstack-sdk": "0.0.5"
"shotstack-sdk": "0.0.14"
}
}

0 comments on commit e92a231

Please sign in to comment.