 This update contains the condenser methods used to access an account's blog. The only one left out is `get_tags_used_by_author` since "api.hive.blog" does not have the tags plugin enabled. ## Example Usage: ```go package main import ( "fmt" a "git.sr.ht/~jrswab/go-hive" ) func main () { c := a.NewClient() blog, err := c.GetBlog("jrswab", 0, 1) if err != nil { fmt.Println(err) } // Returns the body of the first post returned fmt.Println(blog[0].Body) } ``` ## v0.2.0 Changelog ### Added - Condenser Methods: - `GetBlog` - `GetBlogEntries` - `GetFollowCount` - `GetFollowers` - `GetContent` - `GetContentReplies` - `GetRebloggedBy` - `GetReblogs` (get_blog_authors) - Unit tests for `blog.go` methods ## Contributing: ### The preferred contribution approach: 1. Fork 2. Make a new branch 3. Write code 4. Run the unit tests 5. Update and add tests as needed 6. Commit to your branch. 7. Switch back to master 8. `git pull origin master` 9. `git merge [your branch name]` and resolve any conflicts 10. `git send-email --to="~jrswab/go-hive-dev@lists.sr.ht" HEAD^` - This creates and sends a patch with your updates. Please use the [Sourcehut Email Etiquettes](https://man.sr.ht/lists.sr.ht/etiquette.md) when sending patches. Using `git send-email` will take care of most of the etiquette for you. To learn how to send patches with `git send-email` check out the tutorial at [git-send-email.io](https://git-send-email.io/) --- The project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), is licensed under the [BSD 3-Clause License](https://choosealicense.com/licenses/bsd-3-clause/), and all development is located at [git.sr.ht/~jrswab/go-hive](git.sr.ht/~jrswab/go-hive).
author | jrswab |
---|---|
permlink | go-hive-v0-2-0-get-blog-data |
category | hive-139531 |
json_metadata | "{"app":"peakd/2020.03.14","format":"markdown","description":"This update contains the condenser methods used to access an account's blog.","tags":["hivedev","technology","tech","dev","hive"],"users":["lists"],"links":["https://man.sr.ht/lists.sr.ht/etiquette.md","https://git-send-email.io/","https://semver.org/spec/v2.0.0.html","https://choosealicense.com/licenses/bsd-3-clause/","https://git.sr.ht/~jrswab/go-hive"],"image":["https://i.ibb.co/8d4PLgq/go-hive-update-v0-2-0.png"]}" |
created | 2020-04-10 16:57:39 |
last_update | 2020-04-10 18:22:09 |
depth | 0 |
children | 1 |
last_payout | 2020-04-17 16:57:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.770 HBD |
curator_payout_value | 0.764 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,853 |
author_reputation | 46,062,246,679,771 |
root_title | "Go-Hive v0.2.0: Get Blog Data" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,788,245 |
net_rshares | 5,613,361,791,963 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
clayboyn | 0 | 17,832,457,001 | 5% | ||
r0nd0n | 0 | 1,951,396,329 | 2.5% | ||
sward | 0 | 6,201,581,101 | 50% | ||
borislavzlatanov | 0 | 128,741,292,053 | 100% | ||
mes | 0 | 220,785,201,536 | 100% | ||
khussan | 0 | 2,144,773,776 | 100% | ||
followbtcnews | 0 | 65,510,247,007 | 5% | ||
simms50 | 0 | 13,162,213,913 | 100% | ||
crimsonclad | 0 | 39,069,699,664 | 5% | ||
netuoso | 0 | 1,295,163,942,811 | 100% | ||
drorion | 0 | 787,442,889,388 | 100% | ||
fbslo | 0 | 167,049,792,998 | 100% | ||
asbonclz | 0 | 1,250,091,063 | 40% | ||
bigdizzle91 | 0 | 17,938,750,014 | 100% | ||
not-a-bird | 0 | 10,709,838,363 | 50% | ||
evilest-fiend | 0 | 1,261,760,600 | 50% | ||
not-a-cat | 0 | 1,492,198,751 | 100% | ||
patricklancaster | 0 | 8,566,416,157 | 50% | ||
holger80 | 0 | 2,623,169,656,827 | 75% | ||
movement19 | 0 | 7,029,436,957 | 100% | ||
tamala | 0 | 21,895,267,758 | 100% | ||
jennybeans | 0 | 1,576,948,319 | 100% | ||
techcoderx | 0 | 132,589,557,047 | 100% | ||
holovision | 0 | 18,086,320,266 | 100% | ||
fullnodeupdate | 0 | 10,591,726,268 | 75% | ||
blarchive | 0 | 12,148,335,996 | 5% |
Hi! [Go-Hive](https://hiveprojects.io/projects/p/go-hive/) was added to HiveProjects.io - directory of apps, sites & tools created for Hive. You can also join [Hive Projects Community](https://peakd.com/c/hive-192847/created) to be on time with all new informations! [](https://hiveprojects.io/)
author | lukmarcus |
---|---|
permlink | re-jrswab-q9bd20 |
category | hive-139531 |
json_metadata | {"tags":["hive-139531"],"app":"peakd/2020.04.5"} |
created | 2020-04-24 22:26:57 |
last_update | 2020-04-24 22:26:57 |
depth | 1 |
children | 0 |
last_payout | 2020-05-01 22:26:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.108 HBD |
curator_payout_value | 0.109 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 368 |
author_reputation | 6,879,451,798,530 |
root_title | "Go-Hive v0.2.0: Get Blog Data" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 96,983,479 |
net_rshares | 432,347,218,170 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
donald.porter | 0 | 432,347,218,170 | 100% |