[wp-meta] [Making WordPress.org] #3213: Add: Plugin Icon URL API / service

Making WordPress.org noreply at wordpress.org
Thu Oct 19 20:40:33 UTC 2017


#3213: Add: Plugin Icon URL API / service
-------------------------+-----------------
 Reporter:  enej         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:
Component:  API          |   Keywords:
-------------------------+-----------------
 Howdy

 I would like to be able to do the following. Have a URL that returns the
 plugin icon or the svg.

 So that I can do something like
 <img
 src="https://api.wordpress.org/plugins/icon/1.0/?slug=jetpack&size=256&default_icon=http://example.com
 /default-icon.png" width="256" />

 Does something like that exits?

 Right now the plugin icon urls live on the following url.
 https://ps.w.org/jetpack/assets/icon-256x256.png?rev=969908

 And in order to get that information you need to a call to the .org plugin
 api. Which is fine but it requires 2 trips to the .org servers. One to the
 api and another for the image.

 I would be happy to contribute a patch if you point me in the right
 direction.

 Thanks Meta team!

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3213>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list