Reddit Becerisi
Gönderileri, yorumları, subreddit bilgilerini ve kullanıcı profillerini Reddit'ten genel JSON API aracılığıyla alın.
Ön Gereksinimler
API anahtarı gerekmez! Reddit'in genel JSON API'si kimlik doğrulama olmadan çalışır.
Hızlı Kontrol:
cd <skill_directory>
python3 scripts/get_posts.py python --limit 3
Komutlar
Tüm komutlar beceri dizininden çalıştırılır.
Subreddit Gönderileri
python3 scripts/get_posts.py python --limit 20 # Hot posts (default)
python3 scripts/get_posts.py python --sort new --limit 20
python3 scripts/get_posts.py python --sort top --time week
python3 scripts/get_posts.py python --sort top --time all --limit 10
Gönderi Ara
python3 scripts/search_posts.py "AI agent" --limit 20
python3 scripts/search_posts.py "MCP server" --subreddit ClaudeAI --limit 10
python3 scripts/search_posts.py "async python" --sort top --time year
Subreddit Bilgisi
python3 scripts/get_subreddit.py python
python3 scripts/get_subreddit.py ClaudeAI
Gönderi ve Yorumlar
python3 scripts/get_post.py abc123 # Get post by ID
python3 scripts/get_post.py abc123 --comments 50 # With more comments
Kullanıcı Profili
python3 scripts/get_user.py spez
python3 scripts/get_user.py spez --posts 10 # Include recent posts
Sıralama Seçenekleri
| Sıralama | Açıklama | Zaman Seçenekleri |
|---|---|---|
hot | Popüler gönderiler (varsayılan) | - |
new | En yeni gönderiler | - |
top | En çok oy alan | saat, gün, hafta, ay, yıl, tümü |
rising | İlgi toplayan | - |
controversial | Tartışmalı | saat, gün, hafta, ay, yıl, tümü |
API Bilgisi
- Yöntem: Genel JSON API (kimlik doğrulama gerekmez)
- İpucu: Herhangi bir Reddit URL'sinin sonuna
.jsonekleyin - Hız Limiti: 100 istek/dakika
- Dokümanlar: https://www.reddit.com/dev/api


