8000 GitHub - destinmoulton/wp-plugins-api: A REST API to access data from Wordpress plugins.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

destinmoulton/wp-plugins-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress Plugin Rest APIs

Contains two rest API's:

  1. Events Manager
  2. OIO Ad Manager

Built using the Slim Framework and NotORM.

Features

Provides REST endpoints to interact with wordpress plugins via JSON.

This API does not allow the creation/submission of events.

Creating Your Own Plugins

You can create your own plugins and add them to the plugins/ folder. The only requirement is a 'routes.php' file. This will determine the accessible API URLs/endpoints.

Configuration

Rename or copy app/config.template.php to app/config.php. Alter the database configuration values to match your Wordpress installation.

$config['db']['host']   = "localhost";
$config['db']['user']   = "username";
$config['db']['pass']   = "password";
$config['db']['dbname'] = "wordpress_database";
$config['db']['charset'] = "utf8";

Also, set the JWT authentication secret.

// JWT Authentication Secret
$config['jwt']['secret'] = "setThisToSomethingSuperSecret";

It is highly recommended that the database user be given READ ONLY access to the Wordpress database.

NotORM

NotORM is used to interact with the database. An ORM would be overkill for this API.

License

MIT

About

A REST API to access data from Wordpress plugins.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0