From 56f6b10c6054d3351eb407b2d1f89ad51bd8d423 Mon Sep 17 00:00:00 2001
From: Mahdi Yari <m.yary16@gmail.com>
Date: Tue, 3 Nov 2020 19:11:16 +0330
Subject: [PATCH] add getRebloggedBy

---
 doc/README.md | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/doc/README.md b/doc/README.md
index 0fa6573..d82099a 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -1316,6 +1316,35 @@ hive.api.getDiscussionsByAuthorBeforeDate(author, startPermlink, beforeDate, lim
   console.log(err, result);
 });
 ```
+### Get Reblogged By
+Gives a list of the users that reblogged a given post
+
+```js
+hive.api.getRebloggedBy(author, permlink, callback);
+```
+
+|Parameter|Datatype|Description|
+|---------|--------|-----------|
+|author|string|a hive username|
+|permlink|string|a permalink of comment or post|
+|callback|function|function(err, data) {/*code*/}|
+
+
+Call Example:
+```js
+hive.api.getRebloggedBy("author", "example-permlink", function(err, data) {
+	console.log(err, data);
+});
+```
+
+Return Example:
+```js
+ [ 'author',
+  'user1',
+  'user2',
+  'user3',
+  'user4' ]
+```
 ### Get Replies By Last Update
 ```js
 hive.api.getRepliesByLastUpdate(startAuthor, startPermlink, limit, function(err, result) {
-- 
GitLab