Title: Positions API
Last modified: September 5, 2023

---

# Positions API

 *  Resolved [robaduncan](https://wordpress.org/support/users/robaduncan/)
 * (@robaduncan)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/positions-api/)
 * I am trying to use the API to load player stats which include the Player positions.
   The data comes with players positions for rugby i.e. 1, 6, 12 but I need to match
   these to Loosehead Prop, Blindside Flanker and Inside Centre. These are recorded
   as the ‘Order’ (class=”sp_order column-sp_order”) but it does not show on the
   API. How can I add this to the API?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpositions-api%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [robaduncan](https://wordpress.org/support/users/robaduncan/)
 * (@robaduncan)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/positions-api/#post-17028415)
 * Sorry I have answered my own question – the order is inherent in the WordPress
   sort Order so the following presents the records in the right order so I can 
   count the position number based on sequence and derive the player number alignment.
 * {{site}}/wp-json/sportspress/v2/positions?_fields=id,name,slug&order=asc

Viewing 1 replies (of 1 total)

The topic ‘Positions API’ is closed to new replies.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [database table](https://wordpress.org/support/topic-tag/database-table/)
 * [positions](https://wordpress.org/support/topic-tag/positions/)

 * 1 reply
 * 1 participant
 * Last reply from: [robaduncan](https://wordpress.org/support/users/robaduncan/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/positions-api/#post-17028415)
 * Status: resolved