Skip to content

gblessylva/wp-api-tester-generator

Repository files navigation

Here’s a complete and professional README.md file for the WP API Tester & Generator plugin:


WP API Tester & Generator

Contributors: [gblessylva]
Tags: REST API, WordPress, API Testing, API Generator, Developer Tools
Requires at least: 5.5
Tested up to: 6.4
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Description

The WP API Tester & Generator plugin is a powerful tool for WordPress developers to create, test, and manage custom REST API endpoints. It streamlines the process of building robust APIs, offering features like endpoint customization, API testing, role-based access control, and more.

Whether you're developing complex web applications or simple integrations, this plugin enhances productivity by automating common API development tasks.

Key Features

  1. Custom Endpoint Generator

    • Visually create and manage REST API endpoints.
    • Support for multiple HTTP methods (GET, POST, PUT, DELETE).
    • Role-based access control for endpoints.
  2. API Testing Tools

    • Built-in interface for testing endpoints directly from the WordPress dashboard.
    • Save and reuse test cases.
    • View detailed response logs.
  3. Response Customization

    • Control metadata visibility, apply filters, and enable conditional responses.
  4. Mock API Responses (Pro)

    • Generate mock responses to simulate endpoint behavior during development.
  5. Documentation Automation (Pro)

    • Automatically generate endpoint documentation in JSON or Markdown format.

Who Is It For?

  • Developers: Simplify REST API development and testing.
  • Agencies: Standardize and document API workflows for client projects.
  • Site Owners: Create secure endpoints for custom integrations or third-party tools.

Installation

From Your WordPress Dashboard:

  1. Go to Plugins > Add New.
  2. Search for "WP API Tester & Generator".
  3. Click Install Now and then Activate.

Manual Installation:

  1. Download the plugin ZIP file.
  2. Upload the contents to the /wp-content/plugins/wp-api-tester-generator/ directory.
  3. Activate the plugin through the Plugins menu in WordPress.

Usage

  1. Access the Dashboard: After activation, go to WP API Tester in your WordPress admin menu.
  2. Generate Endpoints: Use the visual interface to define new REST API endpoints.
  3. Test Endpoints: Navigate to the API Tester section, select an endpoint, and test it with various HTTP methods.
  4. Customize Responses: Fine-tune API responses using the customization panel.

Screenshots

  1. Dashboard Overview
    View active endpoints, test logs, and usage stats.

  2. Endpoint Generator
    Easily create and manage custom endpoints with a drag-and-drop interface.

  3. API Tester
    Test your endpoints and view live responses directly from WordPress.

  4. Documentation Automation (Pro)
    Export endpoint documentation in JSON or Markdown.


Frequently Asked Questions

Q: Does this plugin support role-based access control?

A: Yes! You can assign specific user roles to each endpoint for secure access.

Q: Can I use this plugin with custom post types?

A: Absolutely. You can bind endpoints to custom queries, including custom post types and taxonomies.

Q: Is there a Pro version?

A: Yes, the Pro version offers advanced features like mock responses, documentation generation, and more. Visit example.com for details.


Changelog

1.0.0

  • Initial release.
  • Core features: Endpoint generation, API testing, and response customization.
  • Basic role-based access control.

Upgrade to Pro

Unlock advanced features like:

  • Mock API responses.
  • Automated documentation generation.
  • Enhanced testing tools.
  • Integrations with WooCommerce, BuddyPress, and more.

Visit example.com to learn more and upgrade.


Support

For questions, feature requests, or bug reports, please open an issue on GitHub or contact us at [email protected].


This README.md is structured for clarity and professionalism, covering everything from installation to features and support. Customize the links (e.g., example.com) as per your requirements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published