Darklyng (darklyng) wrote in lj_clients,
Darklyng
darklyng
lj_clients

The return from LJ.XMLRPC.getdaycounts should be, according to the documentation:


[struct](required)
Containing keys:
daycounts(required):
[array](required) Containing items:
[struct](optional; multiple allowed) For each day that the user has posted a journal entry, a struct is returned in the list.
Containing keys:
date(required):
[scalar](required)The date, in yyyy-dd-mm format.
count(required):
[scalar](required)The number of journal entries on that date.


It turns out the daycounts array is not returned if the array is empty. Should someone fix either the code or the docs?
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment