You can use developer tools in your favorite browser to intercept the requests between the application and the server in both the merchant and affiliate panels. You can then either rewrite these requests using your preferred programming language or rewrite them using our PHP based low level API.
This way you can see which requests are called on particular actions, and what are their parameters. You can then choose the appropriate low level API class to recreate this request or simply execute the request using your preferred programming language as explained here. More inside into the structure of the request can be found here.