2

What is the difference between Syncano class and SyncanoDashboard in declaration like that :

SyncanoDashboard syncano = new SyncanoDashboard(API_KEY, INSTANCE_NAME);

and

Syncano syncano = new Syncano(API_KEY, INSTANCE_NAME);

??

Penkey Suresh
  • 5,816
  • 3
  • 36
  • 55

1 Answers1

2

Syncano Dashboard class is used to do all the actions that require Admin access level and your Account Key (you can find account key using this link: https://dashboard.syncano.io/#/account/authentication, see attached screenshot Dashboard Account Key)

So using Syncano class, you can add objects, update them, remove them, login/sign up your users, run public webhooks etc.

Using SyncanoDashboard class, you can do other things you usually would use Dashboard for - adding a new class, adding a Script, Trigger, Schedule etc - things that require Admin access, not just standard API Key.

Easy to check what eachlooking into source code:

(disclaimer: I work for Syncano)