Implement an API
An API would allow us to easily interact with SportsPress from outside the plugin or GUI.
For example, if you have a list (csv,...) with team scores every week, you could use the API to automatically process the list and update the SportsPress database fields with the values. No need to add it manually in the GUI.
An API opens up a lot of other possibilities and allows developers to extend the SportsPress functionality.
Thanks,
Stefan

5 comments
-
Anonymous commented
YES- I need a way to grab a new ranking and change on the site. An API exists on the disc golf PDGA site. Would love to be able to grab that in real time based on the player's PDGA number.
-
Brian Miyaji commented
Hey everyone!
I just wanted to let you know that we've been building an API for SportsPress that uses the WP REST API (https://wordpress.org/plugins/rest-api/) by adding endpoints for SportsPress post types. The API will be included in SportsPress version 2.0 to be released this month.
-
Aaron Hamilton commented
Yes this needs to happen :) I have just purchased and this is defiantly something we would be interested in as we could potentially have 100+ matches each weekend not much fun having to input the data by hand in the gui
-
Rene commented
Agreed, there is a lot of potential for larger sports leagues where it is not feasible to have all stats entered manually.
-
Perren Smith commented
Yes!
Give us a restful API with standard HTTP verbs of GET, POST (new), PUT (update) and DELETE for the suite of sportspress entities and this plugin beats out any other club / team level sports management software, wordpress plugin or otherwise.