Skip to content

Instantly share code, notes, and snippets.

View anshajk's full-sized avatar
🎯
Focusing

Anshaj anshajk

🎯
Focusing
View GitHub Profile
@anshajk
anshajk / clockify_report.py
Created January 7, 2022 12:59
Clockify Weekly Report REST API abstraction in python
import datetime as dt
import json
import logging
import os
from typing import Dict, Tuple
import requests
BASE_API = "https://reports.api.clockify.me/v1"
PREP_PROJECT_ID = "<can-enter-it-here>"
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"message": "Hello, FastAPI!"}
# Complete AI Agent Deployment Manifests
# 1. Namespace for organization
apiVersion: v1
kind: Namespace
metadata:
name: ai-agent
---
# 2. ConfigMap for application configuration