Skip to content

Ericsson/c3-server-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published