API-Football: Difference between revisions

From HaFrWiki42
Jump to navigation Jump to search
Created page with "{{TOCright}} == Widgets == The widgets are free to use. An example blog [https://www.api-football.com/news/post/how-custom-api-football-widgets How to custom api football] ex..."
 
mNo edit summary
Line 4: Line 4:
The widgets are free to use.
The widgets are free to use.
An example blog [https://www.api-football.com/news/post/how-custom-api-football-widgets How to custom api football] explains how to do so.
An example blog [https://www.api-football.com/news/post/how-custom-api-football-widgets How to custom api football] explains how to do so.
div id              = "wg-api-football-game"
 
<div id              = "wg-api-football-game"
     data-host        = "v3.football.api-sports.io"
     data-host        = "v3.football.api-sports.io"
     data-key        = "<?php echo API_SPORTS_KEY; ?>"
     data-key        = "<?php echo API_SPORTS_KEY; ?>"

Revision as of 10:56, 6 April 2023

Widgets

The widgets are free to use. An example blog How to custom api football explains how to do so.

<div id = "wg-api-football-game"

   data-host        = "v3.football.api-sports.io"
   data-key         = "<?php echo API_SPORTS_KEY; ?>"
   data-id          = "718243"
   data-theme       = ""
   data-refresh     = "15"
   data-show-errors = "false"
   data-show-logos  = "true">

<script

   type  = "module"
   src   = "https://widgets.api-sports.io/2.0.3/widgets.js" >

</script>



See also

top

Reference

top