API ⚡

Welcome to CloudCents, a FastAPI-based service for cloud pricing navigation and report generation.

Swagger API Playground 🛠️

Swagger UI

API Key: Get your key Here.

Beta Features

  • Authentication 🔐: Supports Google, Azure, and GitHub for secure login.
  • Cloud Pricing 💸: Quickly access and compare cloud service prices.
  • PDF Reports 📝: Easily generate detailed cloud cost reports.
  • Intuitive UI 🎨: Navigate through cloud pricing and services with ease.

Getting Started with the API

Use the following Python code snippet to interact with the CloudCents API and fetch cloud pricing data.

Python Code Example 🐍
import requests

API_URL = "https://cloudcents.ai/api"
API_KEY = "your_api_key_here"

response = requests.get(f"{API_URL}/get_cloud_prices", 
            params={"service": "vm"}, 
            headers={"Authorization": f"Bearer {API_KEY}"}
            )

if response.status_code == 200:
    prices = response.json()
    print("Cloud VM Prices:", prices)
else:
    print(f"Error: {response.status_code} - {response.text}")

API Endpoints

Here are some of the core API endpoints available for developers:

  • GET /api/get_cloud_prices - Retrieve cloud pricing information for specific services.
  • POST /api/generate_report - Generate a PDF report for cloud costs.
  • POST /api/auth/login - Authenticate with your API key or OAuth provider.