=== Easy APIs – Simplify API Integration ===
Contributors: gurjaint
Tags: rest-api, wordpress-api, woocommerce-api, posts-api, products-api, users-api
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Easily expose WordPress and WooCommerce data through custom REST APIs. Fetch posts, users, products, and more with pagination and filters.

== Description ==

**Easy APIs – Simplify API Integration** is a lightweight plugin that instantly enables clean REST API endpoints for common WordPress and WooCommerce data — perfect for headless WordPress, mobile apps, and external integrations.

**Available API Endpoints**

**WordPress Core:**  
- `/wp-json/easy-apis/v1/posts`  
- `/wp-json/easy-apis/v1/custom-posts`  
- `/wp-json/easy-apis/v1/users`

**WooCommerce:**  
- `/wp-json/easy-apis/v1/products`

**Features:**
- Pagination (`per_page`, `page`)  
- JSON structured output  
- Supports all registered custom post types  
- Zero configuration — just activate and use

== Installation ==

1. Upload the `easy-apis-simplify-api-integration` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** menu.
3. Access the APIs like:  
   `https://your-site.com/wp-json/easy-apis/v1/products`

== Frequently Asked Questions ==

= Do I need to configure anything? =  
No. Just activate and start calling the endpoints.

= Does this support custom post types? =  
Yes. For example:  
`/wp-json/easy-apis/v1/custom-posts?type=books`

= Is authentication required? =  
No. All routes are public by default.  
Developers can add authentication using built-in WP filters.

== Screenshots ==

1. Example JSON API response  
2. WooCommerce product API with pagination

== Changelog ==

= 1.0.0 =  
* Initial release  
* WooCommerce product API endpoint  
* WordPress posts, custom posts, and users endpoints  
* Pagination support

== Upgrade Notice ==

= 1.0.0 =  
Initial stable release of Easy APIs plugin.

== API Documentation ==

### 🔹 Get All Products (WooCommerce)
**Endpoint:** `/wp-json/easy-apis/v1/products`  
**Method:** GET  

**Parameters:**  
- `per_page` — Number of results (default 10)  
- `page` — Page number (default 1)

**Example:**  
`/wp-json/easy-apis/v1/products?per_page=5&page=2`

**Response:**  
Returns full WooCommerce product data, including title, pricing, SKU, categories, images, and attributes.

== A brief Markdown Example ==

Some key features:
1. Simple setup  
2. Clean RESTful endpoints  
3. Native WooCommerce support  
