Access Xero API directly from a browser-based application using Angular
We have an angular application and we are unable to access you API, You had promised us you will provide this functionality long time back.
It would be great if you could povide a sample for the same.
-
helly george commented
You can use the Xero API to connect to your Xero company directly from a web-based application. This article provides an example of how to do this using AngularJS and the Xero API.
First, you'll need to set up a developer account with Xero and create a new application. Once you have created your new application, you'll need to get your client ID and secret key. These can be found on the My Apps page in your account settings.
Next, create a file called Xero-Config.JS at the root of your project and populate it with the following information:
var xeroConfig = { 'replace these values with your client ID and secret key clientId' }