Using LGTM with lgtm.com

Python integration

Install
pip install LGTM
Quick start
import LGTM

# Set your API key
client = LGTM.Client(api_key="YOUR_API_KEY")
Version information
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://lgtm.com/api/v1.0/
API specification
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://lgtm.com/api/v1.0/openapi
List projects
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://lgtm.com/api/v1.0/projects
SDK on GitHub 📄 API Docs
SDK
LGTM
Python
API
lgtm.com
lgtm.com
At a glance
Language Python
Endpoints29
Base URLhttps://lgtm.com/api/v1.0