{"id":1196,"date":"2016-09-04T17:52:03","date_gmt":"2016-09-04T22:52:03","guid":{"rendered":"http:\/\/mathewkiang.com\/?p=1196"},"modified":"2020-01-11T16:11:29","modified_gmt":"2020-01-11T21:11:29","slug":"converting-slacks-team-directory-into-virtual-contact-cards","status":"publish","type":"post","link":"https:\/\/mathewkiangcom.local\/2016\/09\/04\/converting-slacks-team-directory-into-virtual-contact-cards\/","title":{"rendered":"Converting Slack’s Team Directory into virtual contact cards"},"content":{"rendered":"I<\/span> spent the summer as a fellow at University of Chicago’s Data Science for Social Good<\/a>\u00a0Fellowship (more on that later) where I got to work on optimizing EMS delivery in Cincinnati<\/a>\u00a0(additional<\/a> press<\/a>). I’m looking forward to talking about it more once the code and official blog post are made public.<\/p>\n

Until then, I’m just going to throw up some random code snippets that resulted from the summer.<\/p>\n

<\/p>\n

As far as I could tell, there’s no way to export\u00a0the contact information out of Slack’s<\/a>\u00a0Team Directory into virtual cards that can be quickly and easily added to your phone’s contacts. And since I’m old school and prefer text and email to Slack (also because not every DSSG fellow had Slack on their phone), I wrote a simple script that converts the Team Directory into virtual cards<\/a>.<\/p>\n

Once they are in vcf<\/code> form, all you need to do is click on them and add them to your phone. Some bugs exist (for example, profile pics only seems to work for iOS users), but it was hacked together pretty quickly \u2014 and the IETF spec<\/a> is atrocious. For convenience, the script also outputs all contact info into a csv<\/code> file.<\/p>\n

Hopefully, at least one other person will use this before Slack decides to get their act together.<\/p>\n","protected":false},"excerpt":{"rendered":"

spent the summer as a fellow at University of Chicago’s Data Science for Social Good\u00a0Fellowship (more on that later) where I got to work on optimizing EMS delivery in Cincinnati\u00a0(additional press). I’m looking forward to talking about it more once the code and official blog post are made public. Until then, I’m just going to throw up some random code snippets that resulted from the summer.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[132,20,118],"tags":[],"_links":{"self":[{"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/posts\/1196"}],"collection":[{"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/comments?post=1196"}],"version-history":[{"count":0,"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/posts\/1196\/revisions"}],"wp:attachment":[{"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/media?parent=1196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/categories?post=1196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mathewkiangcom.local\/wp-json\/wp\/v2\/tags?post=1196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}