Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Are there clear documents on how to create an app

Darren   ( User )

Commented 3 years ago

Hi there, we are considering creating an app that would allow data from our software to be imported into Akaunting so that people can take advantage of using Akaunting. We have already done this for QuickBooks and Xero. We are now looking to do the same with Akaunting.
However, I cannot seem to find a clear path on how to do this (other than creating an app). Quickbooks and Xero have very clear defined API's and examples on how to do things.
I there something similar for Akaunting?
I have gone through the docs and the forums, but there seems no clearly defined how to.

If someone could point me in the right direction, that would be very helpful.

Thanks
Darren

Denis Dulici   ( Admin )

Commented 3 years ago

Hey Darren,

Here you can find how to create an app for Akaunting:

https://akaunting.com/docs/developer-manual/modules

On the right menu, you'll find a Developer Manual for further details.

Regards

Darren   ( User )

Commented 3 years ago

Already read that page, and it was absolutely no help in clarifying how to interface with Akaunting. It merely says that it mirrors a Laravel app. But no where does it specify any API's. As mentioned, not that I think their documentation is stellar, but both QuickBooks and Xero describe all calls and how to implement them with parameters like a normal API. Where is this information for Akaunting?

Darren   ( User )

Commented 3 years ago

IN fact, when you go to the RestfulAPI it actually says this:
API Blueprint
Coming soon..

When do you think the API will be documented?

Denis Dulici   ( Admin )

Commented 3 years ago

Then your title/description is wrong, you're not trying to create an app for Akaunting but connect to its API.

The API endpoints/routes of Akaunting are located in the following file:

routes/api.php

There is no ETA for the blueprint.

Darren   ( User )

Commented 3 years ago

Maybe I am using Quickbooks terminology too much.
In QBO, to connect anything to Quickbooks (or Xero for that matter), you have to register an app. So I am guessing it is different with Akaunting?

Basically you create what they call an app, register it with them, you receive an API key (More or less) that you can use to connect to their accounting systems. Then you create and host the code on your own server.
One can take it further and put it in there marketplace, but we have no interest in that.
Could you tell me where that file routes/api.php is located so I can read it.

Thanks
Darren

Denis Dulici   ( Admin )

Commented 3 years ago

Ok, now I got what you mean. No, you don't need to create an app or register anywhere to connect to the API of any Akaunting installation.

Akaunting API uses Basic Auth so you'll need to get the following info:

URL: https://akaunting-installation.com
Email: [email protected]
Password: 123456

Here you can find the API endpoints:

https://github.com/akaunting/akaunting/blob/master/routes/api.php

Resource endpoint includes GET, POST, PATCH, and DELETE:

https://laravel.com/docs/controllers#resource-controllers

Regards

Please login or register to leave a response.

Showing 1 to 7 of 7 discussions