+27
Progress - 25%

API Import - Create competitions and Leagues automatically.

Andrei S. (Developer) 4 years ago in Import API updated by Voetbal Limburg 4 months ago 33

ToDo

- migrate from "api-football.com" API V2 to V3

- new user interface (UI)

- special wizard to easily create and config new competition

--- general round-robin competitions (e.g.: national leagues)

--- knockout competitions (e.g.: national cups)

--- complex multistage competitions (e.g.: international cups)

This would be great

+1

that would be perfect and makes your plugin 5 stars 

Working on new API Import UI

--

Best Regards

Andrei S.

+2

Great! When do you think it will be available to us?

+1

Testing it. Maybe in 7-10 days.


Dear Andrei, how is it going in this front? Can we now import and create all existed leagues in the api-football system automatically, or with a lot less manual work? Appreciate your work.

+1

New plugin version 0.13.0 will have:

- migrate from "api-football.com" API V2 to V3

- new user interface (UI)

- simplified  Manual Import Configuration creator


Great! I am looking forward to the auto wizard to come. Would be great if you could simplify linking any other api imported stuff (outside of your plugin) on the website to the matches imported by your plugin BY api-football.com fixture id.

Уточняющий вопрос - импорт доступен только в премиум версии плагина? Есть какие-то минимальные требования к хосту? Подозреваю, что бд будет сильно расширяться? И вообще диск будет забиваться событиями если тянуть по api приличное кол-во лиг и сезонов. Да/Нет?

Уточняющий вопрос - импорт доступен только в премиум версии плагина?

Да


Есть какие-то минимальные требования к хосту?

если будете использовать LIVE то требования очень высокие

Подозреваю, что бд будет сильно расширяться? И вообще диск будет забиваться событиями если тянуть по api приличное кол-во лиг и сезонов. Да/Нет?

Да, особенно если будете импортировать статистику игроков в каждом матче

--

Best Regards

Andrei S.

well we I did not understand the latest update in this thread, as it was not in English. What is the latest news on this issue?

It is a general question about API Import functionality.

--

Best Regards

Andrei S.

https://www.deepl.com/translator is a very good tool for translations. easy to use with copy and paste. 

Progress - 25%

--

Best Regards

Andrei S.

v0.14.6 - API Import - (Beta) Automatic Import Wizard for the most popular leagues


--

Best Regards

Andrei S.

Thanks for this, finally this is up and running! :) ... But, I see this only for the top 4-5 leagues, not even available for very famous leagues like Belgium Jupiler Pro and Bundesliga 2 and so on... When will this be available for "all" leagues in api-football system? Thanks.

I'll wait some time for feedback. If everything will be fine, I'll continue to add leagues such as Belgium Jupiler Pro and Bundesliga 2. 

Leagues will be added automatically without plugin updates.

When will this be available for "all" leagues in api-football system?

I don't plan to add support for all leagues at this moment. API has a lot of minor leagues with low popularity. 

But I want to add an automatic wizard for 50-70% of all available leagues.

--

Best Regards

Andrei S.

у меня постоянно ошибка 400 при создании матчей

Скорее всего завтра выложу обновление 0.14.6

https://anwppro.userecho.com/en/knowledge-bases/11/articles/2153-v0146-work-in-progress


Если после обновления ошибка не пропадёт, создавайте Support Ticket

- https://anwppro.userecho.com/en/knowledge-bases/2/articles/486-how-to-get-support

--

Best Regards

Andrei S.

спасибо! очень жду!

I have a question, API import works only with football leagues or other sports and leagues will work too?

Hello

Can you please let us know when we can expect the completion of the following?

- special wizard to easily create and config new competition

- general round-robin competitions (e.g.: national leagues)

- knockout competitions (e.g.: national cups)

- complex multistage competitions (e.g.: international cups

Thank you!

Hello

It has been done for the top European leagues.

Periodically, I am adding support to the new leagues and working on implementing the complex tournament structures import.

--

Best Regards

Andrei S.

I used the automated setup for the World Cup and it worked brilliantly for the group stages.

However, I notice that there are no fixtures setup for the knockout stages  - is there an automatic way to set these up ("Create Games" currently says there no games to create) or will I have to enter the details manually and link them to the API data?

-1

hello, if you are using the api, the knockout fixtured can't be created until the group stages are finished. 

when all the group stages finish, the api show the matches.

Thanks Andrei - that worked fine.

Knock out for WC is available already for those Matches were the participants are clear

I have tried to run the auto wizard to create Euro 24, it imports all of the teams etc and sets up the group tables, but when it gets to Create Games I get an error:

Create Games - Season 2024: - TypeError: Cannot read properties of undefined (reading 'length')

If I go to Edit import configuration and try to create games from there I get an Error 400, no games to create.

+1

Hello 


Create a support ticket to get help and check, maybe you have these games already created.

- https://support.anwp.pro/knowledge-bases/2/articles/486-how-to-get-support

--

Best Regards

Andrei S.

Hi Andrei

I used the import for all the matches but the date and time doens't come tru on the match.

Image 9532

Image 9531