Podio API Documentation

Ratings: Get ratings

GET /rating/{ref_type}/{ref_id}/{rating_type}

Get the rating average (for fivestar) and totals for the given rating type on the specified object.

Usage
PHP Client
PodioRating.php
PodioRating::get_for_type( $ref_type, $ref_id, $rating_type );
Ruby Gem
rating.rb
Podio::Rating.find_all_by_type( ref_type, ref_id, rating_type )
Parameters
ref_type*
Required.
ref_id*
Required.
rating_type*
Required.
Response { "average": The average rating (only returned for fivestar ratings) "count": { "{value}":  { "total": The count of ratings of that specific value, "users": List of users that rated this value, [ { "user_id": The id of the users, "name": The name of the user }, ... (more users) ] } } }

 

Sandbox

Try the operation "/rating/{ref_type}/{ref_id}/{rating_type}"

You can simulate the API request by filling out the arguments below, and press the submit button to see the response.

You need to be logged in to Podio to use the Sandbox. Login here