Changelog
Source:NEWS.md
rtgstat 0.3.1
CRAN release: 2022-05-02
- Update error handing policy in
tg_make_request()
, now usingreq_error()
for response error handing. - The description lists the minimum required versions of most imported packages.
rtgstat 0.3.0
CRAN release: 2022-02-01
New functions
-
tg_channels_search()
- Search telegram channel.
Bug fixes
- Fix
tg_get_token()
, previously the function only looked for the token in the options, ignoring the environment variable issue#1
Other
-
tg_get_token()
return error when API token doesn’t set.
rtgstat 0.2.0
New functions
-
tg_channel_avg_posts_reach()
- Getting the average coverage of channel publications over time. -
tg_channel_err()
- Obtaining an ERR indicator for a channel in dynamics. -
tg_set_check_api_quote()
- Enable and disable API limit rate alerts.
Bug fixes
- Fixed bug in
tg_set_channel_id()
:object 'tg_channel_id' not found
. - Fixed API quote parser in
tg_api_usage()
.
Other
-
rtgstat
added to TGStat API documentation. - The mechanism for retrying a request in case of an error has been rewritten to the standard means
httr2
, usingreq_retry()
. - Add user agent to request in
tg_make_request()
byreq_user_agent()
. - Now API endpoint add to URL by
req_url_path_append()
inside tg_make_request()
. - Disabled checking the api quota usage in the
tg_categories()
,tg_countries()
,tg_languages()
. -
retry
removed fromrtgstat
dependencies.