ballerinax/ritekit Ballerina library

1.5.2

Overview

The RiteKit API v1.0 connector(https://documenter.getpostman.com/view/2010712/SzS7Qku5?version=latest) OpenAPI specification.
The RiteKit API provides the capability to perform social media marketing through hashtag suggestions, auto hashtagging, emoji suggestions, etc.

Key Features

  • Programmatic access to create and manage resources via REST API
  • Send and publish data through the API
  • Manage user accounts and profiles
  • Secure authentication with API key or OAuth support

Prerequisites

Before using this connector in your Ballerina application, complete the following:

  1. Create a RiteKit account.
  2. Obtain tokens - Follow this guide.

Quickstart

To use the RiteKit connector in your Ballerina application, update the .bal file as follows:

Step 1: Import connector

First, import the ballerinax/ritekit module into the Ballerina project.

Copy
import ballerinax/ritekit;

Step 2: Create a new connector instance

You can now make the connection configuration using the RiteKit API keys config.

Copy
ritekit:ApiKeysConfig & readonly apiKeyConfig = ?;
ritekit:Client ritekitClient = check new (clientConfig);

Step 3: Invoke connector operation

Following is code demonstrates how to get a project using ballerinax/ritekit connector.

Copy
public function main() returns error? {
    json response = check ritekitClient->trendingHashtags();
}

Import

import ballerinax/ritekit;Copy

Other versions

See more...

Metadata

Released date: 3 days ago

Version: 1.5.2

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.8.0

GraalVM compatible: Yes


Pull count

Total: 25

Current verison: 0


Weekly downloads


Source repository


Keywords

Type/Connector

Vendor/RiteKit

Area/Marketing & Social Media

Marketing/Social Media Marketing

Cost/Freemium


Contributors