Skip to content
Snippets Groups Projects
Commit 925d7f32 authored by Mahdi Yari's avatar Mahdi Yari
Browse files

Update README.md

parent 5587c524
No related branches found
No related tags found
Loading
...@@ -150,7 +150,7 @@ See also: [getTrendingCategories](#get-trending-categories) ...@@ -150,7 +150,7 @@ See also: [getTrendingCategories](#get-trending-categories)
### Get Blog ### Get Blog
Gets the last `limit` number of posts of `account` before the post with index `entryId` Gets the last `limit` number of posts of `account` before the post with index `entryId`
``` ```js
hive.api.getBlog(account, entryId, limit, callback); hive.api.getBlog(account, entryId, limit, callback);
``` ```
...@@ -163,7 +163,7 @@ hive.api.getBlog(account, entryId, limit, callback); ...@@ -163,7 +163,7 @@ hive.api.getBlog(account, entryId, limit, callback);
Call Example: Call Example:
``` ```js
hive.api.getBlog("username", 10, 3, function(err, data) { hive.api.getBlog("username", 10, 3, function(err, data) {
console.log(err, data); console.log(err, data);
}); });
...@@ -174,7 +174,7 @@ hive.api.getBlog("username", 10, 3, function(err, data) { ...@@ -174,7 +174,7 @@ hive.api.getBlog("username", 10, 3, function(err, data) {
``` ```
Return Example: Return Example:
``` ```js
[ [
{ {
blog:"username" blog:"username"
...@@ -198,7 +198,7 @@ Return Example: ...@@ -198,7 +198,7 @@ Return Example:
``` ```
### Get Discussions By Trending ### Get Discussions By Trending
``` ```js
hive.api.getDiscussionsByTrending(query, function(err, result) { hive.api.getDiscussionsByTrending(query, function(err, result) {
console.log(err, result); console.log(err, result);
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment