npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rownd-sdk

v1.0.4

Published

This is the SDK for the Rownd Data Privacy Platform. The Rownd Data Platform allows developers to quickly give their users control over their personal data. Visit https://rownd.io for more information. The Rownd Data Platform SDK is easy and fast to us

Downloads

9

Readme

Getting started

This is the SDK for the Rownd Data Privacy Platform

The Rownd Data Platform allows developers to quickly give their users control over their personal data. Visit https://rownd.io for more information.

The Rownd Data Platform SDK is easy and fast to use. Prior to using this SDK, you must register an app on the Rownd platform (https://app.rownd.io), retrieve an App-ID, App Key and Secret, and map personal data-types.

This SDK covered adding users and their personal data and retrieving end users' data. The Rownd REST API can be found at https://docs.rownd.io/api/

Rownd docs can be found at https://docs.rownd.io

Authentication

In order to setup authentication in the API client, you need the following information.

| Parameter | Description | |-----------|-------------| | xRowndAppKey | API Key: Create keys at https://app.rownd.io | | xRowndAppSecret | API Secret: Create keys at https://app.rownd.io |

API client can be initialized as following:

const lib = require('lib');

// Configuration parameters and credentials
lib.Configuration.xRowndAppKey = ""TODO: Replace""; // API Key: Create keys at https://app.rownd.io
lib.Configuration.xRowndAppSecret = ""TODO: Replace""; // API Secret: Create keys at https://app.rownd.io

Class Reference

List of Controllers

Class: AddUserDataController

Get singleton instance

The singleton instance of the AddUserDataController class can be accessed from the API Client.

var controller = lib.AddUserDataController;

Method: updateApplicationUserDataUpsert

Create a user (by entering a new user ID below) or edit an existing user (by passing the previously sent userID) and add data to Rownd. Note: all data added must be set up in the Rownd Data Privacy and Ownership platform (https://app.rownd.io)

function updateApplicationUserDataUpsert(app, user, body, callback)

Parameters

| Parameter | Tags | Description | |-----------|------|-------------| | app | Required | The ROWND application ID (get it from https://app.rownd.io) | | user | Required | This is the ROWND user ID (that app passed to Rownd) | | body | Optional | Pass Personal and Private data to the Rownd server. Please note: Data type must be added to the app in the Rownd Platform (https://app.rownd.io). |

Example Usage


    var app = '284454822817563138';
    var user = 'testtest123342113';
    var body = new AppUserData({"data":{"email":"[email protected]","first_name":"xxxxxxxx","last_name":"xxxxxxxx","cell_phone_number":"55555455555"}});

    controller.updateApplicationUserDataUpsert(app, user, body, function(error, response, context) {

    
    });

Back to List of Controllers

Class: GetUserDataController

Get singleton instance

The singleton instance of the GetUserDataController class can be accessed from the API Client.

var controller = lib.GetUserDataController;

Method: getApplicationUserDataGet

For getting one user's data.

function getApplicationUserDataGet(app, user, callback)

Parameters

| Parameter | Tags | Description | |-----------|------|-------------| | app | Required | The ROWND application ID (get it from https://app.rownd.io) | | user | Required | This is the ROWND user ID (that app passed to Rownd) |

Example Usage


    var app = '1300141209124912d';
    var user = '20310948103410djad12332302';

    controller.getApplicationUserDataGet(app, user, function(error, response, context) {

    
    });

Method: getApplicationUserDataList

This is to get all data in an application.

function getApplicationUserDataList(app, callback)

Parameters

| Parameter | Tags | Description | |-----------|------|-------------| | app | Required | The ROWND application ID (get it from https://app.rownd.io) |

Example Usage


    var app = '1300141209124912d';

    controller.getApplicationUserDataList(app, function(error, response, context) {

    
    });

Back to List of Controllers

Class: DeleteUserDataController

Get singleton instance

The singleton instance of the DeleteUserDataController class can be accessed from the API Client.

var controller = lib.DeleteUserDataController;

Method: deleteApplicationUserDataDelete

To delete a user's ID and data.

function deleteApplicationUserDataDelete(app, user, callback)

Parameters

| Parameter | Tags | Description | |-----------|------|-------------| | app | Required | The ROWND application ID (get it from https://app.rownd.io) | | user | Required | This is the ROWND user ID (that app passed to Rownd) |

Example Usage


    var app = 'app';
    var user = 'user';

    controller.deleteApplicationUserDataDelete(app, user, function(error, response, context) {

    
    });

Back to List of Controllers