This seems like a pretty basic question and yet I have been unsuccessful in finding an answer. I am trying to find the actual skill points for a partially trained skill (to predict the remaining training time for that skill).

Using the ESI call to /characters/xxxx/skills/ all the skills are returned but it only shows what level the skills are trained to and the corresponding skill points for that level.

Take for example the Gunnery skill. To get to level 4 requires 45,255 points and to level 5 requires 256,000 points. Suppose a character has trained about halfway from level 4 to level 5 so they have about 150,000 skill points in the Gunnery skill. If I make the call to /characters/xxx/skills/ the Gunnery skill is returned and it has the correct level (4) but it shows the skill_points_in_skill as 45,255 not 150,000 (which is the actual number of points in the skill).

Can anyone point me in the right direction about how to go about finding the actual trained points in a skill so that I can calculate the remaining training time for that skill?

Again, this seems like something pretty basic and I apologize if I have missed something obvious.