Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chainsawriot/weiborr
Simple Sina Weibo API client
https://github.com/chainsawriot/weiborr
Last synced: 27 days ago
JSON representation
Simple Sina Weibo API client
- Host: GitHub
- URL: https://github.com/chainsawriot/weiborr
- Owner: chainsawriot
- License: gpl-2.0
- Created: 2015-04-03T15:28:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-04T15:58:51.000Z (over 8 years ago)
- Last Synced: 2023-03-23T17:30:13.967Z (over 1 year ago)
- Language: R
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# weiborr
Simple Sina Weibo API client## Philosophy
The purpose of this package is to create a Sina Weibo API client that can adapt to the [ever-changing](http://open.weibo.com/announcement) Sina Weibo API version 2.
The idea is not to create a Weibo library to wrap every API functions. We provide the **fabric** for you to build your own application. (Similar to the [Python weibo client](https://github.com/lxyu/weibo).) Therefore, you still need to refer to the [Official API documentation](http://open.weibo.com/wiki/%E5%BE%AE%E5%8D%9AAPI).
## Usage
```{r}
require(weiborr)
require(magrittr)my_auth <- weibo_auth(access_token = "123")
frds <- weibo_get(my_auth, api = "friendships/friends", uid = 12345678)
to_df(frds$users) ## convert multiple users info to data.frame
```