I'm working on a college project in which I need to extract information about the print head's position. I am totally new to OctoPrint and I'm having trouble developing API's. The printer already displays the print head co-ordinates and all I need is to extract that information. How do I do that? I know there are plugins which help to move the print head but how do they extract the position of the print head?
BTW I'm using ANET A8 Printer which is a Prusa i3 Clone.