Flutter package for Quickbooks. Includes supports for both Payments and Accounting APIs as well as authorization flow.
TODO: List prerequisites and provide or point to information on how to start using the package.
In order to interact with Quickbooks you'll need a developer account and the clientId and clientSecret https://developer.intuit.com/app/developer/dashboard
final quickClient = QuickbooksClient(
applicationId: applicationId,
clientId: clientId,
clientSecret: clientSecret);
// Initialize the client.
await quickClient.initialize();
// Use this to prompt the user to authorize your app
var authUrl = quickClient.getAuthorizationPageUrl(
scopes: [Scope.Accounting, Scope.Payments],
redirectUrl: <your redirect url>,
state: "state123")
// On authorization success use the params to get the access token.
var autoToken = quickClient.getAuthToken(
code: <code from redirect url>,
realmId: <real from redirect url>
redirectUrl: <redirect url>);
// Note: The token can be refreshed when it expires using the refreshToken
String token = (await quickClient.refreshToken(
refreshToken: autoToken.refresh_token
)).access_token
https://developer.intuit.com/app/developer/qbo/docs/develop
Feel free to use any of my GitHub repositories in your apps. You should also consider attending the free Brother Hackathon happening this year. You get a free Brother QL-1110NWB, a PT-P910BT, and possibly an awesome DS-940DW mobile scanner. Visit brotherhackathon.com for more information. I will be teaching workshops, and they are free. You can ask me any questions. Thank you.