Skip to content

Releases: selesnow/rtgstat

rtgstat 0.3.2

12 Aug 08:52
Compare
Choose a tag to compare
  • Rebuild documentation, for cran policy (html5)

rtgstat 0.3.1

03 May 07:30
Compare
Choose a tag to compare
  • Update error handing policy in tg_make_request(), now using req_error() for response error handing.
  • The description lists the minimum required versions of most imported packages.

rtgstat 0.3.0

01 Feb 14:31
Compare
Choose a tag to compare

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.1

22 Dec 08:41
Compare
Choose a tag to compare

Only CRAN fixes.

rtgstat 0.2.0

22 Dec 08:03
Compare
Choose a tag to compare

Новые функции

  • tg_channel_avg_posts_reach () - Получение среднего охвата публикаций канала в динамике.
  • tg_channel_err () - Получение ERR для канала в динамике.
  • tg_set_check_api_quote () - Включение и отключение предупреждений об ограничении лимитов API.

Новые параметры

  • tg.check_api_quote - позволяет отключить проверку квот api.

Исправление ошибок

  • Исправлена ​​ошибка в tg_set_channel_id(): object 'tg_channel_id' not found..
  • Исправлен парсер ответа API в функции tg_api_usage().

Другое

  • rtgstat добавлен в [документацию TGStat API] (https://api.tgstat.ru/docs/ru/client-libs.html#%D1%8F%D0%B7%D1%8B%D0%BA-r ).
  • Механизм повторной попытки запроса в случае ошибки был переписан на стандартные средства httr2 с использованием req_retry().
  • Добавлен пользовательский агент в запрос в tg_make_request() с помощью req_user_agent().
  • Теперь конечная точка API добавляется к URL-адресу с помощью req_url_path_append() внутри tg_make_request().
  • Отключена проверка использования квоты api в tg_categories (), tg_countries (), tg_languages ​​().
  • retry удален из зависимостей rtgstat.