Tank01 Fantasy Stats

פרמיום
Verified
על ידי tank01 | מְעוּדכָּן un mese fa | Sports
פּוֹפּוּלָרִיוּת

9.7 / 10

חֶבִיוֹן

351ms

רמת שירות

100%

Health Check

N/A

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

News by player ID doesn't seem to be working

Rapid account: Danbarring
danbarring
6 mesi fa

When searching for news for a specific player, the API doesn’t appear to be filtering by a single player properly.

Example for Trae Young (28978646789):

{“playerID”: “28978646789”, “maxItems”: “1”}

response:

[{‘lastUpdated’: 2023120618055708, ‘image’: ‘https://a.espncdn.com/photo/2023/1206/r1262575_1296x518_5-2.jpg’, ‘playerID’: ‘28978646789’, ‘link’: ‘https://www.espn.com/nba/story/_/id/39058113’, ‘title’: ‘Source: Lakers told no black uniforms for Vegas’}]

Rapid account: Tank 01
tank01 Commented 6 mesi fa

Hi Dan,

We’ve fixed this error. playerID now will only return news for that specific player.

Rapid account: Tank 01
tank01 Commented 6 mesi fa

Hi Dan,

Yes unfortunately there is a bug that just popped up recently (a few weeks now) that’s been frustrating me in connecting playerID’s with news articles. The code here is a little complicated and it seems to be connecting almost every player with every article, making the playerID search more or less useless. This will take some time to work through but I’ll let you know as soon as that’s fixed.

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

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