Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for WordPress plugins #299

Closed
anderly opened this issue Nov 3, 2014 · 1 comment
Closed

Add support for WordPress plugins #299

anderly opened this issue Nov 3, 2014 · 1 comment

Comments

@anderly
Copy link
Contributor

anderly commented Nov 3, 2014

The WordPress plugin repository provides some nice at a glance info that would be useful in badges (plugin version, rating, downloads, supported WP version, etc.) Example: https://wordpress.org/plugins/akismet

Proposed:


Plugin Version

/wordpress/plugin/v/<plugin-slug>.svg

WordPress Plugin version

WordPress Plugin version


Plugin Downloads

/wordpress/plugin/dt/<plugin-slug>.svg

WordPress Plugin downloads (10000+)

WordPress Plugin rating (< 10000)

WordPress Plugin rating (< 1000)

WordPress Plugin rating (< 100)

WordPress Plugin rating (0)


Plugin Ratings

/wordpress/plugin/r/<plugin-slug>.svg

WordPress Plugin rating (4+ stars)

WordPress Plugin rating (< 4 stars)

WordPress Plugin rating (< 3 stars)

WordPress Plugin rating (< 2 stars)

WordPress Plugin rating (0 stars)


Supported WordPress Version

/wordpress/v/<plugin-slug>.svg

Cross-check a plugin's "Compatible With" value with list of supported WP Versions found here: https://api.wordpress.org/core/version-check/1.7/

WordPress version (Current: Tested with most current WP version)

WordPress Plugin version (Warn: Not tested with most current, but still in supported list)

WordPress Plugin version (Out of date: Not tested with any versions in supported list)


All of this information can be retrieved by making an API request to http://api.wordpress.org/plugins/info/1.0/{slug}.json

Example: http://api.wordpress.org/plugins/info/1.0/akismet.json

More details on WP.org's API here: http://codex.wordpress.org/WordPress.org_API

@anderly anderly changed the title Feature request: support WordPress plugin repository (version, license, downloads, supported WP version, etc.) Add support for WordPress plugins Nov 4, 2014
@espadrine
Copy link
Member

This is fixed by #300. Kudos to @anderly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants