The REST API has its guide right above the API companion
REST trading API guide | IG Labs
Also above that there are sample APPS available
Client libraries and sample trading applications | IG Labs
I had no trouble using those references to create my own code to suite my requirements....