ballerinax/icons8 Ballerina library

1.5.2

Overview

The Icons8 API v3.0 connector(https://developers.icons8.com/docs/getting-started) OpenAPI specification.
The Icons8 API provides the capability to search and obtain icons.

Key Features

  • Programmatic access to create and manage resources via REST 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 an Icons8 account.
  2. Obtain tokens - Follow this guide.

Quickstart

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

Step 1: Import connector

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

Copy
import ballerinax/icons8;

Step 2: Create a new connector instance

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

Copy
icons8:ApiKeysConfig & readonly apiKeyConfig = ?;
icons8:Client iconsClient = check new (apiKeyConfig);

Step 3: Invoke connector operation

Following is code demonstrates how to get icons created after a date using ballerinax/icons8 connector.

Copy
public function main() returns error? {
    icons8:TotalsResponse response = check iconsClient->getTotals("2014-12-31");
}

Import

import ballerinax/icons8;Copy

Other versions

See more...

Metadata

Released date: about 16 hours ago

Version: 1.5.2

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.8.0

GraalVM compatible: Yes


Pull count

Total: 26

Current verison: 0


Weekly downloads


Source repository


Keywords

Type/Connector

Vendor/Icons8

Area/Storage & File Management

Content & Files/Images & Design

Cost/Freemium


Contributors