Live Scores - Import API
Powerful hosting is required!
Do no use it on Shared hosting, it may exceed your resource limit and put the website down!
Scheduling import increases the overhead on your server. It creates a Cron job and fetches and handles API data every minute.1) Add API import key and create import configuration
- set API key and URL in "FL+ Configurator" >> "Import API";
Then create an import configuration and add it to the Dashboard (click on Star icon)
Recommended tutorials:
- https://anwppro.userecho.com/knowledge-bases/2/articles/1665-import-data-from-api-footballcom-v3
2) Enable the LIVE score plugin functionality
Go to "Settings & Tools" >> "FL+ Configurator" >> "LIVE" and activate the "Enable LIVE scores" option.
3) Activate API LIVE Data Import
Go to "Settings & Tools" >> "FL+ Configurator" >> "Import API" and activate the "Import LIVE Data from API" option.
4) Schedule API LIVE Import fetching
Activate automatic LIVE import for selected competition. The status should be changed to "active".
Troubleshooting: Disable Cron job manually
In case of a problem, you can disable all site Cron jobs by adding a special code to the wp-config.php file (before the line "That's all, stop editing! ...") in the root of your WordPress installation.
This option will disable all site Cron jobs.
define('DISABLE_WP_CRON', true);
Or you can install Crontrol plugin and remove "anwp_fl_live_api_import_hook" in "Tools" >> "Cron Events"
Customer support service by UserEcho
Where is shortcode for livescore?
Thanks
Check section "Affected Layouts" - https://anwppro.userecho.com/knowledge-bases/2/articles/63-live-scores-in-the-list-of-matches
J'ai besoin d'un outil de gestion de scores en direct pour mon site
Can this be used to view actual upcoming live matches (NOT fantasy matches)? Or can I "only" create fantasy-leagues based on data from the API?
The plugin will show only LIVE game from your site, created manually, or imported from API.
Ok. So if I want to get information about a game in the Bundesliga - I will have to create a tournament/season in Wordpress, and then sync that with the API. I cannot import a single game directly from the API - only from my own local Wordpress, that has been synced with the API?
Can this plugin be used for all football live score API?
No, only with https://www.api-football.com/
ok, thanks
I Want to add API-football live scores to my website ( WordPress). however, I have zero knowledge of programming or coding. I subscribed to your premium package and washable to navigate my way till I got lost here (see picture below). Kindly assist me.
How can I get the API Key? As per your instraction I has been created competitions, leagues, players and clubs in my wordpress website. Now I try to shown the live games score, how can I show this??
You have to get an API key before a start here - api-football.com/pricing
--
More info - https://anwppro.userecho.com/en/knowledge-bases/2/articles/241-import-data-from-api-footballcom
I can't get "Enable Live Match Mode" option, how can I get this option?
Do you have a premium plugin version?
If "Yes", create a support ticket
- https://anwppro.userecho.com/en/knowledge-bases/2/articles/486-how-to-get-support
Sir, I have a problem, I can't see the "Live Score Import" option in Competition Configuration. Please help me out this problem.
I using a pro plugin a and subscribed to your API, I manged to import data for English premier league, but i noticed i had not configured my league well, i deleted that league, created a new league, but every time i try to import data for EPL again, i get error 400 that says no matches available for import, what do you think i will do to get Epl data again please
Did you remove previously created games and empty trash?
--
Best Regards
Andrei S.
Hello, I bought the premium plugin. What I want to ask is that I want to show only live matches in tab. How can I do it?
Hi Andrei,
I have everything setup, but the line ups are not being updated before the game? What am I doing wrong?
Thanks
Hi
Try to reschedule it.
Do you have the same number of Selected and Scheduled competitions?
--
Best Regards
Andrei S.
Idk why on mine it does not show in active section.
Click on force Update API Data and try again
--
Best Regards
Andrei S.
That worked perfectly. How can I run it manually? I don't see the run button.
thanks
Hello Andrei,
This error occurred suddenly
Everything was working!
Request failed with status code 400Error/Missing application key. Go to https://www.api-football.com/documentation-v3 to learn how to get your API application key.
Hello
If you need help, please create a support ticket and provide more details about your problem (screenshot).
- https://anwppro.userecho.com/knowledge-bases/2/articles/486-how-to-get-support
--
Best Regards
Andrei S.
Hola que tal, buenas tardes
He comprado la versión premium del plugin y me he suscrito en API SPORTS con una cuenta gratuita para hacer un testeo, pero el problema es que al ingresar el api-key y seguir los pasos de la documentación del plugin para importar los datos, al ir a la opción de import api este me marcar "ERROR 403: Ha fallado la comprobación de la cookie" y por lo consiguiente no me regresa la información para poder proseguir.
Agradecería si me apoyan a solucionar esto ya sea si es algún dato que pueda utilizar hacer para solucionarlo.
Hello
Try to log out and then log in again into your WordPress admin.
--
Best Regards
Andrei S.
me sigue marcando lo mismo, tendra algo que ver que el sitio se multisite
Maybe.
Are you have an administrator role?
--
Best Regards
Andrei S.
Si, asi es, tengo rol de super administrador
I couldn't reproduce your issue on multisite.
Maybe you have any security plugins or other limitations on your website.
--
Best Regards
Andrei S.
I have a problem here - I cannot activate the live import (only MANUAL live import)
This is what my FL+ Live Configurator looks like.
Also in "General" I don't find any live import function.
I found this in "FL API Import -> Settings", but it's not live-importing. I always need to update finished games manually, even though all tasks are scheduled.
Hello Danny
Maybe you have a problem with your CRON configuration. Create a support ticket about this problem
- https://support.anwp.pro/knowledge-bases/2/articles/486-how-to-get-support
--
Best Regards
Andrei S.