Live Golf Data

フリーミアム
Verified
よって slashgolf | 更新済み 23 days ago | Sports
人気

9.9 / 10

レイテンシー

62ms

サービスレベル

100%

Health Check

100%

すべてのディスカッションに戻る

/schedule - no course info for some events?

Rapid account: Lorettarules
lorettarules
a month ago

Why do some “schedule” events contain “course” information, while others do not?

And it seems random, could you give more insight into the response structure?

Thank you!

Rapid account: Slashgolf
slashgolf Commented a month ago

Ah – we had forgotten about the example responses on the playground. We just went through and updated those.

Thanks for bringing to our attention!

Rapid account: Wesleyjasonelliott
wesleyjasonelliott Commented a month ago

Oh yes, seems the main documentation is as expected.
On the RapidAPI docs, the example response for the schedules endpoint does include a courses field (see picture attached)[https://ibb.co/GHzLR6M].

But good to know the main docs are updated, I’ll stick to that then.

Rapid account: Slashgolf
slashgolf Commented a month ago

Hi Wesley,

Can you point us to the example you are referring to? We’ll need to update any documentation. Recently, we did just update all of the playground endpoints to use year 2024 as well.

The course information should only be on the /tournaments endpoint. It may have been inadvertently included on the /schedules endpoint for years 2021 and 2022.

We double checked the docs on our website (https://slashgolf.dev/docs.html), and that is in line with course info only existing on /tournaments.

We apologize for the confusion here!

Rapid account: Wesleyjasonelliott
wesleyjasonelliott Commented a month ago

Same issue here. I think the issue is the example for the “schedule” endpoint contains the “courses” field, but in reality - the response doesn’t contain that field.
However, the “tournaments” endpoint does have this (in both the example and the actual response).

Is there anyway to include the course info as part of the schedule response like the example states?

Rapid account: Slashgolf
slashgolf Commented a month ago

It’s easier if you email us at slashgolfapi@gmail.com with all your questions.

Rapid account: Lorettarules
lorettarules Commented a month ago

do you want me to post the response here? or i can message you privately?

Rapid account: Lorettarules
lorettarules Commented a month ago

None of the tournaments had “courses” data for year 2023 & 2024 for me

Rapid account: Slashgolf
slashgolf Commented a month ago

Can you give an example? All events for 2024 should have course information unless the event has not been determined yet.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿