ballerinax/icons8 Ballerina library

1.5.1

Overview

This is a generated connector for Icons8 API v3.0 OpenAPI specification.
The Icons8 API provides the capability to search and obtain icons.

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

Metadata

Released date: 10 months ago

Version: 1.5.1

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.4.1

GraalVM compatible: Yes


Pull count

Total: 

Current verison: 0


Weekly downloads


Source repository


Keywords

Content & Files/Images & Design
Cost/Freemium

Contributors

Other versions

See more...