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/sdkUsage
const { Greencode.ai } = require('@Greencode.ai/sdk');
const client = new Greencode.ai({ apiKey: 'YOUR_KEY' });Python
Install
pip install Greencode.aiUsage
from Greencode.ai import Greencode.ai
client = Greencode.ai(api_key='YOUR_KEY')Ruby
Install
gem install Greencode.aiUsage
require 'Greencode.ai'
client = Greencode.ai::Client.new(api_key: 'YOUR_KEY')PHP
Install
composer require Greencode.ai/sdkUsage
use Greencode.ai\Client;
$client = new Client('YOUR_KEY');