For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrate the Site Reputation SDK

Integrate the Site Reputation SDK into your application

Prerequisites

Get Started

Integrate the JS SDK

Add @sudoplatform/sudo-site-reputation as a dependency to your project.

yarn add '@sudoplatform/sudo-site-reputation'
# or
npm install --save '@sudoplatform/sudo-site-reputation'

In order to instantiate a Site Reputation client, make sure you have followed instructions for Getting Started and User SDK (see Prerequisites above).

To instantiate a client in your application, add the following:

import { SudoSiteReputationClient } from '@sudoplatform/sudo-site-reputation'
import { DefaultSudoUserClient } from '@sudoplatform/sudo-user'

// See User SDK docs
const sudoUserClient = new DefaultSudoUserClient()

const siteReputationClient = new SudoSiteReputationClient({
  sudoUserClient, 
})

Integrate the iOS SDK

Add this line to your Podfile:

Install pod dependencies by running the following command in your project directory:

This will update the local CocoaPods repository and install the latest version of the Site Reputation SDK.

In order to instantiate a Site Reputation client, make sure you have followed instructions for Getting Started and User SDK (see Prerequisites above).

To instantiate a client in your application, add the following:

Integrate the Android SDK

Add this line to the dependencies section of the app module build.gradle and run Gradle sync.

In order to instantiate a Site Reputation client, make sure you have followed instructions for Getting Started and User SDK (see Prerequisites above).

To instantiate a client in your application, add the following:

Last updated