An open API service indexing awesome lists of open source software.

https://github.com/j3-tech/wordpressapi

Wordpress.org API
https://github.com/j3-tech/wordpressapi

php wordpress wordpress-plugin

Last synced: 2 months ago
JSON representation

Wordpress.org API

Awesome Lists containing this project

README

          

# WPApi
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/labzone/WPApi/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/labzone/WPApi/?branch=master)
[![Build Status](https://travis-ci.org/labzone/WPApi.svg?branch=master)](https://travis-ci.org/labzone/WPApi)

Wordpress.org API

## Examples

### Plugin

#### Search
```php
$response = WPApi\WPApi::plugin()->search('wordpress seo');

```

#### Slug
```php
$response = WPApi\WPApi::plugin()->slug('wordpress-seo');

```

### Theme

#### Search
```php
$response = WPApi\WPApi::theme()->search('simple');

```

#### Slug
```php
$response = WPApi\WPApi::theme()->slug('simpler');

```

#### Author
```php
$response = WPApi\WPApi::theme()->slug('fontethemes');

```