Module Description
πΊπ¦ This module is maintained by Ukrainian developers. Please consider supporting Ukraine in a fight for their freedom and safety of Europe. This module creates API endpoints for ActiveNet. After enabling the module, you should be able to input the config into the admin and use the ActiveNetClient class.
1. Enter ActiveNet creds at admin/openy/integrations/activenet/settings 2. In your theme.theme file or a custom module:
``` use Drupal\activenet\ActiveNetClient; $client = new $ActiveNetClient(); $centers = $ActiveNetClient->getCenters(); print_r($centers); //returns json response of all centers
``` All available methods: ``` getSites() getCenters() getActivities() getActivityTypes() getActivityCategories() getActivityOtherCategories() getFlexRegPrograms() getFlexRegProgramTypes() getMembershipPackages() getMembershipCategories() getActivityDetail($id) ```
1. Enter ActiveNet creds at admin/openy/integrations/activenet/settings 2. In your theme.theme file or a custom module:
``` use Drupal\activenet\ActiveNetClient; $client = new $ActiveNetClient(); $centers = $ActiveNetClient->getCenters(); print_r($centers); //returns json response of all centers
``` All available methods: ``` getSites() getCenters() getActivities() getActivityTypes() getActivityCategories() getActivityOtherCategories() getFlexRegPrograms() getFlexRegProgramTypes() getMembershipPackages() getMembershipCategories() getActivityDetail($id) ```
Module Link
Project Usage
58
Security Covered
Not Covered By Security Advisory
Version Available
Production
Module Summary
This module creates API endpoints for ActiveNet to input config into the admin and use the ActiveNetClient class.
Data Name
activenet