Return provinces list.

Description

Return provinces list.

Usage

1
common.get_province(roauth, country, capital, language)

Arguments

roauth

A OAuth object created by createOAuth.

country

Country code.

capital

The first letter of the provinces, a-z. Return all of the provinces if the parameter is not provided.Default is not provided.

language

The returned language version. zh-cn: Simplified Chinese; zh-tw: Traditional Chinese; english: English; Default is zh-cn.

Value

A list of provinces.

Author(s)

Jian Li <rweibo@sina.com>

References

http://open.weibo.com/wiki/2/common/get_province

Examples

1
2
3
4
5
## Not run: 

common.get_province(roauth, country = "001")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.