derek smart-gordon
Chapter Two

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 );

Discover more from derek smart-gordon

Subscribe now to keep reading and get access to the full archive.

Continue reading