static Map slackGetUserInfo(S token, S userID) { S url = "https://slack.com/api/users.info"; S postData = "token=" + urlencode(token) + "&user=" + urlencode(userID); S data = doPostWithTimeout(postData, url, slackSetTimeout_get()); //print(data); ret (Map) jsonDecodeMap(data).get("user"); }
Began life as a copy of #1001916
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1001917 | 
| Snippet name: | slackGetUserInfo | 
| Eternal ID of this version: | #1001917/1 | 
| Text MD5: | 1ccedc48865297cc79c43680c4a3f893 | 
| Author: | stefan | 
| Category: | |
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2016-04-02 20:13:34 | 
| Source code size: | 309 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 1003 / 1597 | 
| Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |