• 13-05-2024, 18:00:42
    #1
    Bir ödevim için web siteme maç skor APIsi eklemek istiyorum. Birkaç API sağlayıcısından denedim, yapamdım. Bildiğiniz API sağlayıcısı var mı? Yardım edebilir misiniz?
    <script>
      // Fetch data from the API
      fetch('https://api.football-data.org/v2/competitions/2014/standings', {
    method: 'GET',
    headers: {
    'X-Auth-Token': '45d9895417cb43dca79681dac94c8d28'
        }
    })
    .then(response => response.json())
    .then(data => {
    // Get the table body element
                const tableBody = document.querySelector('#standingsTable tbody');
    
    // Loop through the standings table and add each team to the table
                data.standings[0].table.forEach(team => {
    const row = document.createElement('tr');
    const teamNameCell = document.createElement('td');
    const pointsCell = document.createElement('td');
    
    teamNameCell.textContent = team.team.name;
    pointsCell.textContent = team.points;
    
    row.appendChild(teamNameCell);
    row.appendChild(pointsCell);
    
    tableBody.appendChild(row);
    });
    })
    .catch(error => console.error('Error fetching data:', error));
    </script>
  • 13-05-2024, 18:06:29
    #2
    Collect API | Aylık 100 Requests Ücretsiz . 200000 request 19$
  • 13-05-2024, 18:09:01
    #3
    taylanweb adlı üyeden alıntı: mesajı görüntüle
    Collect API | Aylık 100 Requests Ücretsiz . 200000 request 19$
    bunu nasıl koduma bağlayabilirim
  • 13-05-2024, 18:11:49
    #4
    Aylık 100 Requests Ücretsiz , olarak belirtmiştim Ek olarak R10 ÜCRETSİZ MAÇ SONUÇLARI API sayfasını inceleyebilirsiniz.
  • 13-05-2024, 18:16:51
    #5
    taylanweb adlı üyeden alıntı: mesajı görüntüle
    Aylık 100 Requests Ücretsiz , olarak belirtmiştim Ek olarak R10 ÜCRETSİZ MAÇ SONUÇLARI API sayfasını inceleyebilirsiniz.
    hocam bu ara kafam dalgın her konunun altında ticari bir şeyler satmaya çalışan insanlar oluyor tam anlamadım mesajıınızı onlardan sanmıştım sonradan fark edip güncelledim zaten kusura bakmayın verdiğiniz kaynaklar içinde teşekkürler inceliyorum yazdığım mesaj içinde özür dilerim