This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """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} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """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} |