2011-05-08, 21:08:43
2011-05-09, 00:47:22
I know this. The API was done before the new rating system was implemented. I will add this to my todo list
2011-07-27, 23:44:30
ccagle8 Wrote:I know this. The API was done before the new rating system was implemented. I will add this to my todo list
Just a followup - the rating is returned now but not a string like all the others. Is this intentional?
Also, is there an API call to extent do get all plugin information in one call?
-Rob A>
2011-07-28, 12:19:14
how is it returned? an object?
2011-07-29, 04:04:54
ccagle8 Wrote:how is it returned? an object?
It is a basic unquoted number, which according to the JSON spec is a double precision floating-point, but php turns it into either an int or a float depending on the value when it is run through json_decode.
All the other values I'd think could be numeric (number of downloads, version, id, etc) are all returned as string, except for rating, hence the question. Also in the example in the wiki it shows as a empty string, not as a number in json format.
-Rob A>