I'm trying to figure out a way to create a data-source plugin which can communicate with an external REST API and provide relevant data to draw a panel.
Anyone with previous experience?
The Simple JSON Datasource does roughly what you're proposing, and would definitely be a good base for you to start from.
There is also documentation on datasource plugins available.