You can use the ODBC driver that Sage come with to query the sage tables, the biggest problem will be working out the tables so that you map them to the correct fields.
The following web cast maybe of interest to you.
https://www6.software.ibm.com/reg/lotus1/cast-i?S_PKG=101EBM8D&FR=L