Import data from "api-football.com" (v3)

Premium Version Only (since v0.13.0)

1. Choose API Import subscription plan at api-football.com

Go to https://www.api-football.com/pricing and select the subscription plan you want. 

For most users, a PRO plan will suffice.

Recommended using a direct subscription - https://dashboard.api-football.com/register

After registration, you are on a Free plan with 100/requests per day and some limitations per minute/hour.

To buy a subscription see the screenshot below.

P.S.: I am not affiliated with this API. It is a third API used to import data into Football Leagues plugin. It is not ideal but worth the money (compared to other APIs in this price range).

Image 3920

2. Set API key and Import Settings

Go to the "FL+ Configurator" (2) >> "Import API" (3), enter your API key (4), and set the request URL (5). 

If you buy a subscription on RapidAPI, set "RapidApi account" or set "Direct" if you buy a subscription in https://dashboard.api-football.com/

Then check API Import functionality (6) you want and save.

Image 3921

If you plan to use advanced club and players statistics, go to the "Settings & Tools" >> "FL+ Statistics":

- for the club statistics >> click "Add Them All" in "Available API Club Advanced Statistics"

- for the player statistics >> click "Load API Stats Structure"

Image 3923

Image 3922

3. Create Import Configuration

Import Regular Round-Robin Competition

Tutorial - API Import Configuration: Round-Robin Competition (like regular national league)

Youtube video


Import Multistage Competition

Tutorial - API Import Configuration: Multistage Competition (like international cup)

Youtube video

Add active leagues to the Dashboard for operational management.

Image 3952

4. Create Standing Tables (optional)

Go to the "Competitions" (1) >> "Standing Tables" (2) and click "Add New Standing Table" (3)

Image 3924

Select appropriate competition and click "Select".

Image 3925

Image 3926

Set proper Ranking Rules and other settings and Save.

5. Create page templates in Layout Builder (optional)

https://anwppro.userecho.com/en/knowledge-bases/2/articles/382-how-to-use-layout-builder

https://anwppro.userecho.com/en/knowledge-bases/2/articles/385-shortcode-block-layout-builder

https://anwppro.userecho.com/knowledge-bases/2-football-leagues/categories/128-layout-builder/articles

I can use the free plan, to add a championship to test ?

How do I choose a league with the free plan?

Hello

Yes, you can use a free plan. But do not import players because it requires a lot of requests. And use a direct subscription (not rapid-api).

How do I choose a league with the free plan?

Follow the tutorial above.

--

Best Regards

Andrei S.

How to add the channel name that streams the match. Ex.: Eurosport, fox tv and so on

I'm suddenly having a problem!


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.

i am thinking to build my app on this widget and API. Is the project still alive? Lookes like they stopped responding a year ago 

Is 1GB DB enough for the project? What is the rule for past and future fixtures? What I mean is. How far in the future will the fixtures be loaded and at what point will the past fixtures be deleted?