Six Apart Developer Center

Developer Center Home » Product Documentation » LiveJournal »

LJ.XMLRPC.getdaycounts

Posted by Byrne Reese on March 3, 2006

This mode retrieves the number of journal entries per day. Useful for populating calendar widgets in GUI clients. Optionally a journal can be specified. It returns a list of the dates and accompanied counts.

Request Parameters

  • LiveJournal's Common Request Parameters
  • usejournal - Journal username that authenticating user has 'usejournal' access in, as given in the 'login' mode. If getting the day counts of a shared journal, include this key and the username you wish to get the counts of. By default, you load the counts of "user" as specified above. (optional)

Return Values

  • daycounts - An array of struct of type DayCount for each day that the user has posted a journal entry

DayCount Type

  • date - The date, in yyyy-dd-mm format.
  • count - The number of journal entries on that date.

Sample Request

Sample Response

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.