weibo.api: Invoke an API directly by it's URL.

Description Usage Arguments Value Author(s) References Examples

Description

Invoke an API directly by it's URL.

Usage

1
weibo.api(roauth, URL, paramlist = list(), httpmethod = c("GET", "POST"))

Arguments

roauth

A OAuth object created by createOAuth.

URL

The url of this API.

paramlist

Parameters list.

httpmethod

HTTP request method, 'GET' or 'POST'.

Value

A R object.

Author(s)

Jian Li <rweibo@sina.com>

References

http://open.weibo.com/wiki

Examples

1
2
3
4
5
6
## Not run: 

weibo.api(roauth, URL = "https://api.weibo.com/2/statuses/public_timeline.json",
    paramlist = list(count = 5), httpmethod = "GET")

## End(Not run)

Rweibo documentation built on May 2, 2019, 5:23 p.m.

Related to weibo.api in Rweibo...