Intersection.py
An API Wrapper for IC's API written in Python
Install / Use
/learn @Feeeeddmmmeee/Intersection.pyREADME
intersection.py
An easy to use API wrapper with some basic functionality you would expect an API wrapper to have.
[!CAUTION] This project has been made obsolete by tl3api, which provides broader API coverage and asynchronous requests, and thus will no longer be maintained.
Key Features
- User, Map, Comment and Highscore classes with their corresponding features.
- Functions used to get said objects from different sources.
- It's not really optimized but should work just fine.
Installing
You can either use pip or copy the github repository.
pip (replace "version" with the version you want to download or alternatively just don't specify it.):
pip install intersection.py==version
Required packages
The only other package this API wrapper requires is requests. In order to download it run this command:
pip install requests
Quick example
import intersection
my_user = intersection.user.get_details_for_user(userId=2452411)
print(my_user.name)
my_maps = my_user.get_user_maps()
for map in my_maps:
print(map.name)
comment = map.get_comments(limit=1)
if len(comment):
print("Latest comment: " + comment[0].comment)
if map.gameModeGroup == 2:
highscore = map.get_highscores(count=1)
print("Highscore: " + highscore[0].score)
JSON example
from intersection.ext import url
my_user = url.get_details_for_user(userId=2452411)
print(my_user["name"])
my_maps = url.list_maps_by_user(userId=my_user["objectId"])
for map in my_maps:
print(map["name"])
comment = url.list_comments_on_map(mapId=map["objectId"], limit=1)
if len(comment):
print("Latest comment: " + comment[0]["comment"])
if map["gameModeGroup"] == 2:
highscore = url.list_high_scores_on_map(mapId=map["objectId"], count=1)
print("Highscore: " + highscore[0]["score"])
External links
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
108.0kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
347.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
