Support » Everything else WordPress » Getting and filtering plugin reviews?

  • Resolved johnalarcon



    To get a plugin’s basic stats from the repository, we can use:{slug}.json

    This brings back most of the data. To add reviews to the response, we can use:{slug}.json?fields[reviews]=1

    Great. However, the reviews returned in the response:

    1) are a string of markup, and
    2) only contains the latest 10 reviews, and
    3) can’t be filtered by rating.

    If absolutely necessary, I can glean the data from the returned markup. Still, that won’t bring back any additional results, or allow me to filter them by rating.


    I read the plugins_api() function documentation and scoured Google for answers…also read through the WP API docs on the Codex.

    Is there anything in place to filter and return a plugin’s reviews? Or has anyone solved this without having scraping/traversing markup?

    Thanks for any insights you may have!

    – John

    • This topic was modified 1 year, 9 months ago by johnalarcon.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting and filtering plugin reviews?’ is closed to new replies.