CalderaWP/edd-sl-api

Name: edd-sl-api

Owner: Caldera Labs

Description: EDD Software Licensing REST API

Created: 2016-06-20 01:25:57.0

Updated: 2017-04-10 14:11:23.0

Pushed: 2016-12-22 03:10:08.0

Homepage: null

Size: 13

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

EDD Software Licensing REST API

Provides a RESTful API, using the WordPress REST API for managing Easy Digital Downloads software licenses.

Note: All routes require authentication through WordPress. I recommend using JWT, which is easy and is as secure as wp-login (IE fairly secure if using HTTPS and you are using fail2ban or something.)

Requires PHP 7.0 or later

Routes

Licenses

By license ID for getting and using licenses;

/licenses

GET only

license/<id>

ID is ID of license code, not the license code.

license/<id>/file

ID is ID of license code, not the license code.

Sites

Get sites with licenses activated

sites

GET All sites with an active license for any download

sites/user/<id>

GET All sites that a user has a license of any download active on.

sites/download/<id>

GET All sites that a download has an activated license on.

Copyright/ License

Copyright 2016 Josh Pollock & CalderaWP LLC. Licensed under the terms of the GNU GPL v2 or later.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.