You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added a new branch which fetches from stats.ncaa.org/teams/{id}, and returns their schedule, their results, the id's of each game, and attendance. Think that it'd be pretty cool to see more branches from stats.ncaa.org.
@henrygd I dont think that using stats.ncaa.org is viable as a simple product. It seems there is no clear way of finding a team ID, therefore not really a good way to use the schedule endpoint etc. Mabye there could be a very hacky way of finding it from scanning the scoreboard page. But this is what I have for my personal project.
Let me know what you think and if there are any other ideas for it. I would always be open to coming back to this project. But for now, this current PR supplements my needs.
Thanks! I have a big backlog right now so it may be some days before I can merge and test.
If we add stuff from stats.ncaa.org we should add a base prefix like /org/* and probably use a more specific path for the resource like /org/team/:id/schedule.
Also it looks like the teams are random IDs, so we should have a way to find the right team ID
I definitely agree that there should be a path to retrieve a team's id based off of their name. Maybe something like /org/id/:slug (or name/long instead of slug) based of the existing path/school-index. Personally, I have a dict of the team id's which are of interest to me. I have not found a full mapping of team id's to each school and each sport of that school. Nonetheless using stats.ncaa.org opens a lot of doors for what this API could accomplish imo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I added a new branch which fetches from stats.ncaa.org/teams/{id}, and returns their schedule, their results, the id's of each game, and attendance. Think that it'd be pretty cool to see more branches from stats.ncaa.org.
@henrygd I dont think that using stats.ncaa.org is viable as a simple product. It seems there is no clear way of finding a team ID, therefore not really a good way to use the schedule endpoint etc. Mabye there could be a very hacky way of finding it from scanning the scoreboard page. But this is what I have for my personal project.
Let me know what you think and if there are any other ideas for it. I would always be open to coming back to this project. But for now, this current PR supplements my needs.
Cheers