Yep I've seen that. Might be worth adding to the list of the RestExamples. I would think a lot of the PHP devs will prefer a plugin they can reference via composer though. Because it's easier to upgrade or switch between versions. As well as restraint from the urge to modify the plugin code :) If you force people to copy paste those code examples they most likely will modify it. And upgrading will be even more complicated then.
Also if you look at the amount of automatically generated documentation and examples: https://github.com/om-hosting/openmeetings-php-client#documentation-for-api-endpoints => I'm not sure if you are keen to hand-craft this into another plugin in the long run? But there might still be people keen to have a more simplistic example. Eg if somebody just wants to understand how it works. I think it's good to have more than 1 example of how to use it. Thanks Seb Sebastian Wagner Director Arrakeen Solutions, OM-Hosting.com http://arrakeen-solutions.co.nz/ https://om-hosting.com - Cloud & Server Hosting for HTML5 Video-Conferencing OpenMeetings <https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url> <https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url> On Sun, 26 Sept 2021 at 18:04, Maxim Solodovnik <solomax...@gmail.com> wrote: > I thought we had PHP API already :) > https://github.com/openmeetings/openmeetings-api-plugin > > from mobile (sorry for typos ;) > > > On Sun, Sep 26, 2021, 09:03 seba.wag...@gmail.com <seba.wag...@gmail.com> > wrote: > > > Hi all! > > > > you can now use a community contributed PHP composer module to make > > integration to OpenMeetings easier > > > > More information: > > > > - OpenMeetings PHP Client - > > https://github.com/om-hosting/openmeetings-php-client > > - OpenMeetings PHP Rest API sample - > > > > > https://openmeetings.apache.org/RestAPISample.html#how-to-integrate-using-php-and-composer > > > > The PHP module makes use of the OpenMeetings Rest API which is now also > > available in OpenAPI 3.0 format: > https://openmeetings.apache.org/swagger/ > > > > You can find details about all API endpoints and examples at > > > > > https://github.com/om-hosting/openmeetings-php-client#documentation-for-api-endpoints > > > > There is an example use case and code using the Laravel PHP framework at: > > https://om-hosting.com/openmeetings-integration-php-composer/ > > > > Thanks > > Sebastian > > > > Sebastian Wagner > > Director Arrakeen Solutions, OM-Hosting.com > > http://arrakeen-solutions.co.nz/ > > https://om-hosting.com - Cloud & Server Hosting for HTML5 > > Video-Conferencing OpenMeetings > > < > > > https://www.youracclaim.com/badges/da4e8828-743d-4968-af6f-49033f10d60a/public_url > > > > > < > > > https://www.youracclaim.com/badges/b7e709c6-aa87-4b02-9faf-099038475e36/public_url > > > > > >