Is there a way to connect to a broker to get trade history and account data like MyFXBook does?

 
I want to build an app that gets the account data and display as a dashboard etc

In myfxbook you can connect using an investor password on the page without using a publisher ea, how is this done?