Skip to main content

MySoccer Update

🚀 Mackolik.com API'den futbol maç verilerini çeken profesyonel Python kütüphanesi.

📦 Kurulum

pip install mysoccer-update

🚀 Hızlı Başlangıç

from mysoccer_update import ResultsAPI, FixturesAPI

# Sonuçları güncelle
results = ResultsAPI()
results.auto_update()  # Dün + Bugün + Yarın

# Fikstürleri çek
fixtures = FixturesAPI()
data = fixtures.get_next_3_days()

✨ Özellikler

  • Modüler Yapı - Temiz ve genişletilebilir
  • Hızlı - BULK INSERT ile saniyede 1000+ maç
  • Güvenilir - Otomatik retry mekanizması
  • Kolay Kullanım - 3 satır kod yeterli
  • Status Filtresi - Status < 13 (0-12 arası tüm maçlar)

📚 Dokümantasyon

Sonuçlar (Maçlar)

from mysoccer_update import ResultsAPI

results = ResultsAPI()

# Bugünü güncelle
results.update_today()

# Tarih aralığı
results.update_date_range('01/01/2025', '31/12/2025')

# Tek tarih
results.update_single_date('15/10/2025')

# Otomatik (Dün + Bugün + Yarın)
results.auto_update()

Fikstürler (Gelecek Maçlar)

from mysoccer_update import FixturesAPI

fixtures = FixturesAPI()

# 3 günlük fikstür
data = fixtures.get_next_3_days()

# Veritabanına kaydet
fixtures.save_to_database(data)

# Excel'e aktar
fixtures.export_to_excel(data, 'fixtures.xlsx')

⚙️ Yapılandırma

🔒 Güvenli Yöntem: .env Dosyası (Önerilen)

# .env dosyası oluştur
DB_HOST=your-host.com
DB_PORT=5432
DB_NAME=mackolik_db
DB_USER=your_user
DB_PASSWORD=your_password
from mysoccer_update import ResultsAPI

# .env dosyasından otomatik okur!
results = ResultsAPI()
results.update_today()

📊 Status Filtresi

  • Status < 13: 0-12 arası tüm maçlar (oynanacak, oynanan, biten)
  • Otomatik filtreleme yapılır

🔄 Versiyon 1.0.1

  • ✅ Status filtresi güncellendi (status < 13)
  • ✅ Tüm maç durumları destekleniyor

📄 Lisans

MIT License

🔗 Bağlantılar

Release files for mysoccer-update 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mysoccer-update 1.0.1
File Size Uploaded
mysoccer_update-1.0.1.tar.gz 28.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mysoccer-update 1.0.1
File Interpreter ABI Platform
mysoccer_update-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 63.8 kB

Release files / mysoccer_update-1.0.1.tar.gz

Download URL mysoccer_update-1.0.1.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
773a96218f112c31ded0a1139ef89a3dc36c4e1a386d0d68e8abf8fb9db0424c
BLAKE2b-256 checksum
How to use checksums
162b9c911b1a24e4c00ef9273715a250a8444f2ab29d4f610e025f84b6c56ce1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / mysoccer_update-1.0.1-py3-none-any.whl

Download URL mysoccer_update-1.0.1-py3-none-any.whl
Size 35.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
589746b051c6d805240b4d28f1d4ec8c2c5af67d04c6cb9f4c029f8d8a505035
BLAKE2b-256 checksum
How to use checksums
84683108313231e227309adcdf6ac0114ab46e0e1300037f87f58b0f8e86d2bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page