Get WordPress.org plugin info api

I keep losing this link. Maybe I won’t need to Google it every time if I actually write it down.

http://api.wordpress.org/plugins/info/1.0/jetpack.json

So, for example, get a nice list of all Jetpack versions (tags) in the .org svn repo.

$jetpack_info = json_decode( file_get_contents( 'http://api.wordpress.org/plugins/info/1.0/jetpack.json' ) );
var_dump( $jetpack_info->versions );


Posted

in

by

Tags:

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.