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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mysoccer_update-1.0.1.tar.gz | 28.2 kB | Without provenance | Details for mysoccer_update-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mysoccer_update-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for mysoccer_update-1.0.1-py3-none-any.whl |
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
|
Security for mysoccer-update 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.