Skip to content

Instantly share code, notes, and snippets.

View hono2-dev's full-sized avatar

hono2-dev

  • Joined Sep 16, 2025
View GitHub Profile
@hono2-dev
hono2-dev / main.py
Last active October 2, 2025 14:19
Trocco API example
import requests
import json
class TroccoAPIClient:
def __init__(self, api_key):
self.api_key = api_key
self.url_base = 'https://trocco.io/api/'
self.headers = {
'Authorization': 'Token '+ api_key,
'accept': 'application/json',