clari-hello-world

Featured

Export your first Clari forecast and pipeline snapshot. Use when testing Clari API connectivity, pulling forecast data, or learning the export API structure. Trigger with phrases like "clari hello world", "clari first export", "clari test api", "clari forecast export".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Clari Hello World ## Overview First API calls against Clari: list available forecasts, export a forecast snapshot, and check export job status. The Clari Export API is the primary integration point for getting forecast, quota, and CRM data out of Clari. ## Prerequisites - Completed `clari-install-auth` setup - `CLARI_API_KEY` environment variable set - At least one forecast configured in Clari ## Instructions ### Step 1: List Available Forecasts ```bash curl -s -H "apikey: ${CLARI_API_KEY}" \ https://api.clari.com/v4/export/forecast/list \ | jq '.forecasts[] | {forecastName, forecastId, timePeriods}' ``` ### Step 2: Export a Forecast ```python import requests import json import os import time api_key = os.environ["CLARI_API_KEY"] headers = {"apikey": api_key, "Content-Type": "text/plain"} # Replace with your forecast name from Step 1 forecast_name = "company_forecast" payload = json.dumps({ "timePeriod": "2026_Q1", "typesToExport": [ "forecast", "quota", "forecast_updated", "adjustment", "crm_total", "crm_closed" ], "currency": "USD", "schedule": "NONE", "includeHistorical": False, "exportFormat": "JSON" }) response = requests.post( f"https://api.clari.com/v4/export/forecast/{forecast_name}", headers=headers, data=payload, ) response.raise_for_status() job = response.json() print(f"Export job started: {job['jobId']}") print(f"Status: {job['status']}") ``` ### Step 3: C...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category