Is there any developer documentation for Amelia? I'd like to be able to access the data to create different ways of presenting it. Since you don't store services, packages and events as posts with postmeta data in WordPress, I'd need to access your data directly but I don't know if you have a documented API for that or if I need to make direct SQL access. This is read-only as I just need to present things like a weekly view of upcoming classes (that are services, not events, because we need rolling enrollment so I can't use your calendar shortcode).
We have API Routes for the Amelia app, but most of them are protected depends on of the permissions that is set in WordPress Accounts. You can check those API Routes in this file ../wp-content/plugins/ameliabooking/src/Infrastructure/Routes/Routes.php
At the moment we have some JavaScript hooks that are triggered depending on the view:
JS files are modified (minimized) in public version of plugin (in our development environment is accessible), but unfortunately I can not send you our source code because that is the policy of our company.
All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features you can extract the js and customise it.
Is there any developer documentation for Amelia? I'd like to be able to access the data to create different ways of presenting it. Since you don't store services, packages and events as posts with postmeta data in WordPress, I'd need to access your data directly but I don't know if you have a documented API for that or if I need to make direct SQL access. This is read-only as I just need to present things like a weekly view of upcoming classes (that are services, not events, because we need rolling enrollment so I can't use your calendar shortcode).
Hi Scott
Thank you for reaching out to us.
We have API Routes for the Amelia app, but most of them are protected depends on of the permissions that is set in WordPress Accounts. You can check those API Routes in this file ../wp-content/plugins/ameliabooking/src/Infrastructure/Routes/Routes.php
At the moment we have some JavaScript hooks that are triggered depending on the view:
JS files are modified (minimized) in public version of plugin (in our development environment is accessible), but unfortunately I can not send you our source code because that is the policy of our company.
All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features you can extract the js and customise it.
You can find an official documentation here:
https://wpamelia.com/documentation/
However, we don't have a separate API documentation at the moment.