SDKs & Libraries

Official SDKs to integrate Greencode.ai into your applications with just a few lines of code.

Node.js

Install
npm install @Greencode.ai/sdk
Usage
const { Greencode.ai } = require('@Greencode.ai/sdk');
const client = new Greencode.ai({ apiKey: 'YOUR_KEY' });

Python

Install
pip install Greencode.ai
Usage
from Greencode.ai import Greencode.ai
client = Greencode.ai(api_key='YOUR_KEY')

Ruby

Install
gem install Greencode.ai
Usage
require 'Greencode.ai'
client = Greencode.ai::Client.new(api_key: 'YOUR_KEY')

PHP

Install
composer require Greencode.ai/sdk
Usage
use Greencode.ai\Client;
$client = new Client('YOUR_KEY');