{"id":14068000,"url":"https://github.com/yonicd/slackcalls","last_synced_at":"2025-09-23T06:30:59.321Z","repository":{"id":39622105,"uuid":"235907598","full_name":"yonicd/slackcalls","owner":"yonicd","description":"generic package to call slack api from R","archived":false,"fork":false,"pushed_at":"2023-03-10T23:49:39.000Z","size":216,"stargazers_count":5,"open_issues_count":10,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T10:51:30.375Z","etag":null,"topics":["r","slack"],"latest_commit_sha":null,"homepage":"https://yonicd.github.io/slackcalls/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yonicd.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-23T23:35:00.000Z","updated_at":"2022-05-30T15:57:00.000Z","dependencies_parsed_at":"2024-08-13T07:13:41.257Z","dependency_job_id":"f54ab07c-b04c-431a-b756-df2117fe20fe","html_url":"https://github.com/yonicd/slackcalls","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackcalls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackcalls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackcalls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonicd%2Fslackcalls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yonicd","download_url":"https://codeload.github.com/yonicd/slackcalls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233934693,"owners_count":18753673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["r","slack"],"created_at":"2024-08-13T07:05:53.403Z","updated_at":"2025-09-23T06:30:58.998Z","avatar_url":"https://github.com/yonicd.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n\u003c!-- badges: start --\u003e\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n[![Covrpage Summary](https://img.shields.io/badge/covrpage-Last_Build_2023_02_27-brightgreen.svg)](http://tinyurl.com/ux5kpl9)\n[![R-CMD-check](https://github.com/yonicd/slackcalls/actions/workflows/r-cmd-check.yml/badge.svg)](https://github.com/yonicd/slackcalls/actions/workflows/r-cmd-check.yml)\n[![Codecov test coverage](https://codecov.io/gh/yonicd/slackcalls/branch/master/graph/badge.svg)](https://codecov.io/gh/yonicd/slackcalls?branch=master)\n\u003c!-- badges: end --\u003e\n\n# slackcalls\n\n`slackcalls` is a part of `slackverse`\n\n```{r,echo = FALSE, eval = TRUE}\npkgs \u003c- sprintf('slack%s',c('calls','teams','posts','blocks','threads','reprex'))\n\nbadges \u003c- sprintf('%s\u003cbr\u003e[![](https://github.com/yonicd/%s/actions/workflows/r-cmd-check.yml/badge.svg)](https://github.com/yonicd/%s)',pkgs,pkgs,pkgs)\n\nnames(badges) \u003c- pkgs\n\n```\n\n||||\n|:-:|:-:|:-:|\n||`r badges[pkgs[1]]`||\n|`r badges[pkgs[5]]`|`r badges[pkgs[2]]`|`r badges[pkgs[3]]`|\n|||`r badges[pkgs[4]]`|\n|||`r badges[pkgs[6]]`|\n\n\n`slackcalls` is the backend of `slackverse` it interacts with Slack API methods\n\n  - [Posting](#posting-to-slack)\n  - [Querying](#querying-slack)\n  - [Storage](#storage)\n\n## Posting to Slack\n\n### Files\n\nUsing `files_slack` interact with\n\n  - [files.upload](https://api.slack.com/methods/files.upload)\n  - [files.delete](https://api.slack.com/methods/files.delete)\n  - [files.info](https://api.slack.com/methods/files.info)\n  - [files.list](https://api.slack.com/methods/files.list)\n\n### Chats\n\nUsing `chat_slack` interact with\n\n  - [chat.postMessage](https://api.slack.com/methods/chat.postMessage)\n  - [chat.delete](https://api.slack.com/methods/chat.delete)\n  - [chat.update](https://api.slack.com/methods/chat.update)\n\n## Querying Slack\n\nUsing `post_slack` you can query the API to get information such as the following lists. The functions paginate by default. \n\n### Team\n\n  - [team.info](https://api.slack.com/methods/team.info)\n  \n### Users\n\n  - [users.list](https://api.slack.com/methods/users.list)\n  - [users.info](https://api.slack.com/methods/users.info)\n\n### Conversations\n\n  - [conversations.history](https://api.slack.com/methods/conversations.history)\n  - [conversations.list](https://api.slack.com/methods/conversations.list)\n  - [conversations.info](https://api.slack.com/methods/conversations.info) \n  - [conversations.members](https://api.slack.com/methods/conversations.members)\n  - [conversations.replies](https://api.slack.com/methods/conversations.replies)\n  \n## Storage\n\n`slackcalls` also saves internally posts that you make during a session in order to use the information for posting to a thread or deleting posts. This mechanism is used in all the slackverse packages.\n\n### Stacks\n\n  - `file_stack`: vector of file IDs that have been sent\n  - `post_stack`: list of posts that have been sent, contains information of ID, ts and where relevant thread_ts.\n\nThe stacks are updated every time a new post/file is sent or deleted.\n\n### Last Element\n\nusing `file_last` and `post_last` you can fetch the head of each stack. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonicd%2Fslackcalls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonicd%2Fslackcalls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonicd%2Fslackcalls/lists"}