If you want to automate installing perks on your site using something like Composer, you can integrate directly with our API to do so.
Our perk download links can be found at the following API endpoint:
https://gravitywiz.com/gwapi/v2/?edd_action=get_products
To download perks, find the appropriate “package” key for the perks you’d like to download from the get_products
JSON response.
Example package URL for GP Notification Scheduler:
https://gravitywiz.com/gwapi/v2?edd_action=download_product&product_id=736472&url=%URL%&license_id=%LICENSE_ID%&license_hash=%LICENSE_HASH%
Then, replace the following variables:
- Replace
%URL%
with your site’s URL. - Replace
%LICENSE_ID%
with your license ID.- Your license ID can be found by running
wp transient get gwp_license_data
after activating Gravity Perks on the site and activating your license. If that’s not possible, reach out to support and we can send over your license ID.
- Your license ID can be found by running
- Replace
%LICENSE_HASH%
with an MD5 hash of your license key.