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

  • 302: lj_dev

    In the interests of consolidating all LiveJournal development-related discussion, we're going to be closing down this community. The same…

  • Plain text to LJ

    I have an old blog from xanga that's in html/plain text and I want to move it over here. Which client would be the best to do this? I also want to…

  • ljKlient 0.2.0 Preview Release 1

    Today marks another milestone in the development of ljKlient — as the first preview of the 0.2 series is released.  Please go to the project…

  • 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