TransferMarket

פרמיום
Verified
על ידי Api Dojo | מְעוּדכָּן il y a 12 jours | Sports
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

1,797ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Using offset for transfer rumors

Rapid account: Fedorsemaev
fedorsemaev
il y a 9 mois

Right now i am trying to load more than 32 transfer rumors, but the offset parameter seems to be ignored. Is there another way of doing it?

Rapid account: Apidojo
apidojo Commented il y a 9 mois

Hello,

After checking the endpoint, I am sorry that paging feature is not supported for that endpoint.

Regards.

Rapid account: Fedorsemaev
fedorsemaev Commented il y a 9 mois

def rumors_update():
offset=0
while offset<100:
get_transfers(offset)
offset+=31

def get_transfers(offset: int):
url = "https://transfermarket.p.rapidapi.com/transfers/list-rumors"
querystring = {“competitionIds”:“ES1”,“offset”:str(offset),“sort”:“date_desc”,“domain”:“com”}

So the idea is to increment the offsett after each request, but even when the offsett is incremented the results of the request is the same.

Regards.

Rapid account: Apidojo
apidojo Commented il y a 9 mois

Well, please send along with your request to demonstrate the case. You may want to check everything again with CARE.

Regards.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות