agentcooper / node-livejournal

LiveJournal API
15 stars 4 forks source link

Additional Information on the JSONrpc #5

Open Caoimhin89 opened 7 years ago

Caoimhin89 commented 7 years ago

Hi, You mention checking Site.rpc.public on LiveJournal.com for more information on the jsonrpc methods. What do you mean by that? How can I perform this check?

agentcooper commented 7 years ago

Hi, @Caoimhin89

Just open http://www.livejournal.com/ in the browser, open JS console and execute Site.rpc.public. You will get an object with all possible public calls:

{
  "discovery.author_posts": "300",
  "comment.get_thread": "900",
  "latest.get_entries": "180",
  "browse.get_posts": "300",
  "gifts.get_gifts_categories": "60",
  "discovery.popular": "300",
  "gifts.get_all_gifts": "60",
  "homepage.get_categories": "60",
  "discovery.suggest": "300",
  "sitemessage.get_message": "3600",
  "ratings.journals_top": "300",
  "discovery.get_categories": "300",
  "medius.get_public_items": "300",
  "browse.get_categories": "300",
  "writers_block.get_list": "60",
  "discovery.today": "300",
  "discovery.get_feed": "300",
  "categories.get_public_category_posts": "60",
  "homepage.get_rating": "300",
  "browse.get_communities": "300"
}
Caoimhin89 commented 7 years ago

Thanks for the quick response!