Skip to content
No description, website, or topics provided.
JavaScript Go Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
go-sdk
node-sdk
python-sdk
.gitignore
README.md

README.md

Introduction

C3 server sdk is responsible for giving access to some of our server side APIs. The sdk is available in node, python and GO languages. Here there will be examples on how to use the sdks, for more information on how to install please navigate to the corresponding directory.

First install the SDK

Via git clone

$ git clone https://github.com/Ericsson/c3-server-sdk.git
$ cd c3-server-sdk/node-sdk
$ npm install

node

Here is an example on how to create/get a user.

    const  Client = require("./client")

    client = new Client({"secret": "Secret token provided by server", "serverUrl": "https://apServer"})
client.getOrCreateUser({"localId": "Alice").
then(function(result){console.log(result)},
function(error){console.log("error is: ", error)})
You can’t perform that action at this time.