Skip to content

Instantly share code, notes, and snippets.

View SeoScoreAPI's full-sized avatar

SeoScoreAPI

View GitHub Profile
@SeoScoreAPI
SeoScoreAPI / seo-bulk-audit.sh
Created February 25, 2026 20:59
Bash: bulk SEO audit multiple URLs (seoscoreapi.com)
#!/bin/bash
# Bulk SEO audit using SEO Score API (https://seoscoreapi.com)
# Usage: ./seo-bulk-audit.sh urls.txt
# Get a free API key at https://seoscoreapi.com
API_KEY="YOUR_KEY_HERE"
while IFS= read -r url; do
result=$(curl -s -H "X-API-Key: $API_KEY" "https://seoscoreapi.com/audit?url=$url")
score=$(echo "$result" | jq -r '.score')
@SeoScoreAPI
SeoScoreAPI / seo-check.yml
Created February 25, 2026 20:59
GitHub Actions: SEO quality gate for CI/CD (seoscoreapi.com)
# .github/workflows/seo-check.yml
# Fail builds if SEO score drops below threshold
# Uses: https://github.com/SeoScoreAPI/seo-audit-action
name: SEO Quality Gate
on:
push:
branches: [main]
pull_request:
@SeoScoreAPI
SeoScoreAPI / seo_audit.py
Created February 25, 2026 20:59
Python: SEO audit any URL in 5 lines (seoscoreapi.com)
"""Quick SEO audit using SEO Score API (https://seoscoreapi.com)"""
import requests
# Get a free key: curl -X POST https://seoscoreapi.com/signup -H "Content-Type: application/json" -d '{"email": "you@example.com"}'
API_KEY = "YOUR_KEY_HERE"
result = requests.get(
"https://seoscoreapi.com/audit",
params={"url": "https://example.com"},
headers={"X-API-Key": API_KEY}
@SeoScoreAPI
SeoScoreAPI / gist:e4516f0d146176dc63afa4c77206507f
Created February 25, 2026 20:58
GitHub Actions: SEO quality gate for CI/CD
# .github/workflows/seo-check.yml
# Fail builds if SEO score drops below threshold
# Uses: https://github.com/SeoScoreAPI/seo-audit-action
name: SEO Quality Gate
on:
push:
branches: [main]
pull_request:
@SeoScoreAPI
SeoScoreAPI / gist:61e3c813ee917a231b14ac5340a9dffb
Created February 25, 2026 20:58
Python: SEO audit any URL in 5 lines
"""Quick SEO audit using SEO Score API (https://seoscoreapi.com)"""
import requests
# Get a free key: curl -X POST https://seoscoreapi.com/signup -H "Content-Type: application/json" -d "{\"email\": \"you@example.com\"}"
API_KEY = "YOUR_KEY_HERE"
result = requests.get(
"https://seoscoreapi.com/audit",
params={"url": "https://example.com"},
headers={"X-API-Key": API_KEY}