All Projects → Rarst → wporg-client

Rarst / wporg-client

Licence: MIT license
Standalone HTTP client for public WordPress.org API.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to wporg-client

DummyJSON
DummyJSON provides different types of REST Endpoints filled with JSON data which you can use in developing the frontend with your favorite framework and library without worrying about writing a backend.
Stars: ✭ 213 (+191.78%)
Mutual labels:  api-client
pyFireEye
Python API bindings for FireEye Products
Stars: ✭ 12 (-83.56%)
Mutual labels:  api-client
braze-php-sdk
A PHP client to interact with Braze API
Stars: ✭ 15 (-79.45%)
Mutual labels:  api-client
JSON-API-Client
Abstract client-side php implementation of the json api specification (jsonapi.org)
Stars: ✭ 17 (-76.71%)
Mutual labels:  api-client
my api client
A framework of Web API Client. Provides features error handling, retrying, pagination and so on.
Stars: ✭ 19 (-73.97%)
Mutual labels:  api-client
Clamor
The Python Discord API Framework
Stars: ✭ 14 (-80.82%)
Mutual labels:  api-client
pinboard.net
Fully featured API wrapper for pinboard.in
Stars: ✭ 21 (-71.23%)
Mutual labels:  api-client
Jib.jl
A Julia implementation of Interactive Brokers API
Stars: ✭ 42 (-42.47%)
Mutual labels:  api-client
bitflyer-api-dotnet-client
bitFlyer HTTP APIs Client Library for .NET (C#)
Stars: ✭ 23 (-68.49%)
Mutual labels:  api-client
v-shopware-api-client
The reliable way to import and update a bazillion products.
Stars: ✭ 20 (-72.6%)
Mutual labels:  api-client
tempo-api-python-client
Python bindings for Tempo - https://apidocs.tempo.io/
Stars: ✭ 17 (-76.71%)
Mutual labels:  api-client
cells-client
Command line client to communicate with cells REST api.
Stars: ✭ 17 (-76.71%)
Mutual labels:  api-client
ssc-restapi-client
Communicate with Fortify Software Security Center through REST API in java, a swagger generated client
Stars: ✭ 13 (-82.19%)
Mutual labels:  api-client
qvapay-python
Non official, but friendly QvaPay library for the Python language.
Stars: ✭ 18 (-75.34%)
Mutual labels:  api-client
dnsimple-python
The DNSimple API client for Python.
Stars: ✭ 66 (-9.59%)
Mutual labels:  api-client
strava
PHP Class for the Strava API (v3)
Stars: ✭ 117 (+60.27%)
Mutual labels:  api-client
jacky
🐄 HTTP JSON API Client for Laravel & Lumen
Stars: ✭ 17 (-76.71%)
Mutual labels:  api-client
closeio-api
Python API Client for Close
Stars: ✭ 53 (-27.4%)
Mutual labels:  api-client
pywnedpasswords
Checkt pwnedpasswords.com in a secure way
Stars: ✭ 22 (-69.86%)
Mutual labels:  api-client
backlog kit
Client library for the Nulab's Backlog API version 2 written in Ruby.
Stars: ✭ 28 (-61.64%)
Mutual labels:  api-client

WPorg Client

Current version PHP required

WPorg Client is a standalone HTTP client for public WordPress.org API.

It aims to provide consistent centralized experience and is independent from WordPress core.

Installation

composer require rarst/wporg-client
$wporgClient  = \Rarst\Guzzle\WporgClient::getClient();

Examples

Core

$updates      = $wporgClient->getUpdates();
$updatesFor   = $wporgClient->getUpdates('4.0', 'en_US');
$translations = $wporgClient->getTranslations('4.1');
$credits      = $wporgClient->getCredits('4.1');
$checksums    = $wporgClient->getChecksums('4.1', 'en_US');

Themes

$theme        = $wporgClient->getTheme('twentyfifteen');
$translations = $wporgClient->getThemeTranslations('twentyfifteen', '1.0');

$popular      = $wporgClient->getThemesBy('browse', 'popular');
$featured     = $wporgClient->getThemesBy('browse', 'featured');
$new          = $wporgClient->getThemesBy('browse', 'new');
$updated      = $wporgClient->getThemesBy('browse', 'updated');
$search       = $wporgClient->getThemesBy('search', 'twenty');
$tagged       = $wporgClient->getThemesBy('tag', 'white');
$authors      = $wporgClient->getThemesBy('author', 'wordpressdotorg');

$featureList  = $wporgClient->getThemeFeatureList();

Plugins

$plugin       = $wporgClient->getPlugin('hello-dolly');
$stats        = $wporgClient->getPluginStats('hello-dolly');
$downloads    = $wporgClient->getPluginDownloads('hello-dolly', 7);
$translations = $wporgClient->getPluginTranslations('akismet', '3.0');

$popular      = $wporgClient->getPluginsBy('browse', 'popular');
$featured     = $wporgClient->getPluginsBy('browse', 'featured');
$new          = $wporgClient->getPluginsBy('browse', 'new');
$updated      = $wporgClient->getPluginsBy('browse', 'updated');
$search       = $wporgClient->getPluginsBy('search', 'dolly');
$tagged       = $wporgClient->getPluginsBy('tag', 'widget');
$authors      = $wporgClient->getPluginsBy('author', 'wordpressdotorg');

$importers    = $wporgClient->getImporters();
$tags         = $wporgClient->getHotTags();

Events

$location     = $wporgClient->getEvents(['location' => 'Seattle']));
$number       = $wporgClient->getEvents(['location' => 'Australia', 'number' => 5]));
$locale       = $wporgClient->getEvents(['timezone' => 'Europe/Berlin', 'locale' => 'de_DE', 'location' => 'Dresden']));
$coordinates  = $wporgClient->getEvents(['latitude' => '51.051', 'longitude' => '13.738']));
$ip           = $wporgClient->getEvents(['ip' => '136.0.16.1']));
$country      = $wporgClient->getEvents(['country' => 'IT']));

Other

Stats

$wordpress    = $wporgClient->getStats('wordpress');
$php          = $wporgClient->getStats('php');
$mysql        = $wporgClient->getStats('mysql');

Secret keys & salts

$secret       = $wporgClient->getSalt();

Browse happy

$browser      = $wporgClient->getBrowser('Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.17');

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].