Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use official competition suite api #13

Open
ego-lay-atman-bay opened this issue Oct 2, 2023 · 0 comments
Open

Use official competition suite api #13

ego-lay-atman-bay opened this issue Oct 2, 2023 · 0 comments

Comments

@ego-lay-atman-bay
Copy link

I am actually doing something similar, well, grabbing marching band scores from competition suite, and I have come across the official competition suite api that includes all the scores, including the captions. The only downside is that the scores are not always on the api, and I've never been able to grab all the competitions from the api.

Here's the documentation for the api that I'm talking about
https://developer.competitionsuite.com/reference/list

Now, there is a small problem. Sometimes the competitions / scores aren't posted to this api, so you'll have to use the bridge api with the web scraping as a backup for when the api doesn't return the scores.

Oh, and by the way, for the bridge api, you can just send the headers

{
    "accept": "application/json",
   "Accepts": "application/json"
}

to get the result in json format (no need for the callback parameter).

(I might think about making my script for grabbing scores from competition suite public...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant