{"id":2978,"date":"2016-07-27T16:40:49","date_gmt":"2016-07-27T07:40:49","guid":{"rendered":"http:\/\/www.itbook.info\/web\/?p=2978"},"modified":"2016-07-27T16:40:50","modified_gmt":"2016-07-27T07:40:50","slug":"%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e5%a0%b4%e6%89%80%e3%81%ab%e3%83%9d%e3%82%b1%e3%83%a2%e3%83%b3%e3%81%8c%e7%8f%be%e3%82%8c%e3%81%9f%e3%82%89slack%e3%81%ab%e9%80%9a%e7%9f%a5%e3%81%95%e3%81%9b","status":"publish","type":"post","link":"https:\/\/www.itbook.info\/web\/2016\/07\/%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e5%a0%b4%e6%89%80%e3%81%ab%e3%83%9d%e3%82%b1%e3%83%a2%e3%83%b3%e3%81%8c%e7%8f%be%e3%82%8c%e3%81%9f%e3%82%89slack%e3%81%ab%e9%80%9a%e7%9f%a5%e3%81%95%e3%81%9b.html","title":{"rendered":"\u6307\u5b9a\u3057\u305f\u5834\u6240\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089Slack\u306b\u901a\u77e5\u3055\u305b\u308b"},"content":{"rendered":"<aside class=\"row veu_insertAds before\"><div class=\"col-md-12\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n                        <!-- cat_\u4e0a\u90e8 -->\r\n                        <ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-6102004203189610\" data-ad-slot=\"9628163001\" data-ad-format=\"auto\"><\/ins>\r\n                        <script>\r\n                        (adsbygoogle = window.adsbygoogle || []).push({});\r\n                        <\/script><\/div><\/aside><p>\u30dd\u30b1\u30e2\u30f3GO\u304c\u7570\u5e38\u306a\u4eba\u6c17\u306a\u3088\u3046\u3067\u3002\u305f\u3060\u5e38\u6642\u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u306f\u30d0\u30c3\u30c6\u30ea\u30fc\u7684\u306b\u53b3\u3057\u3044\u306e\u3067\u3001\u8fd1\u304f\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089\u901a\u77e5\u3057\u3066\u304f\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u7121\u3044\u304b\u306a\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u30ca\u30a4\u30b9\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u3067Qiita\u306b\u3053\u3093\u306a\u8a18\u4e8b\u304c\u30a2\u30c3\u30d7\u3055\u308c\u3066\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/qiita.com\/dongri\/items\/68b596e29a4d5cc6b9ee\">\u30aa\u30d5\u30a3\u30b9\u5468\u8fba\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089 Slack \u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u901a\u77e5\u3059\u308b\u3088\u3046\u306b\u3057\u305f &#8211; Qiita<\/a><\/p>\n<p>\u304a\u30fc\u3053\u308c\u826f\u3044\u3058\u3083\u3093\uff01\u3068\u601d\u3063\u3066\u65e9\u901f\u8a66\u305d\u3046\u3068\u601d\u3063\u305f\u3089\u3059\u3067\u306bpokego-scan\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u6d88\u3048\u3066\u305f\u3002\u3002\u3002<\/p>\n<blockquote cite=\"https:\/\/github.com\/dgoguerra\/pokego-scan\"title=\"dgoguerra\/pokego-scan: Scan pokemon through PokeVision's API\">\n<p>CLOSED PROJECT DISCLAIMER<\/p>\n<p>I&#8217;m closing this project, since PokeVision has kept asking me to do so. I built it for fun, and since they are against people using their internal API this way, I don&#8217;t feel comfortable making it publicly available anymore. Apologies to everyone using it.<\/p>\n<p>I&#8217;m not sure about the proper etiquette for deleting active projects from GitHub, so I&#8217;m leaving this readme to let everyone using it know.<\/p>\n<p><cite>via:<a href=\"https:\/\/github.com\/dgoguerra\/pokego-scan\"target=\"_blank\">dgoguerra\/pokego-scan: Scan pokemon through PokeVision&#8217;s API<\/a><\/cite><\/p><\/blockquote>\n<p>\u4f55\u304b\u4ed6\u306b\u540c\u3058\u3088\u3046\u306a\u3082\u306e\u7121\u3044\u304b\u306a\u3068\u601d\u3063\u3066\u8272\u3005\u3068\u63a2\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u8003\u3048\u3066\u3044\u308b\u4eba\u306f\u305f\u304f\u3055\u3093\u3044\u308b\u3088\u3046\u3067\u7d50\u69cb\u3042\u308a\u307e\u3057\u305f\u3002\u305d\u306e\u4e2d\u3067\u3082\u5c0e\u5165\u304c\u7c21\u5358\u305d\u3046\u306a\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.themarketingtechnologist.co\/pokemon-go-slack-notifications\/\">Get Pokemon Go notifications by using Slack<\/a><\/p>\n<p>\u4e8b\u524d\u306b\u6c7a\u3081\u3066\u304a\u3044\u305f\u5834\u6240\uff08\u81ea\u5b85\u3068\u304b\u5b66\u6821\u3068\u304b\u4f1a\u793e\u3068\u304b\uff09\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089Slack\u306b\u901a\u77e5\u3057\u3066\u304f\u308c\u308b\u3088\u3046\u3067\u3059\u3002\u3057\u304b\u3082\u540c\u7a2e\u306e\u30b5\u30fc\u30d3\u30b9\u3068\u306f\u9055\u3044dockerfile\u3092\u7528\u610f\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u306e\u3067\u3001Docker\u4e0a\u3067\u52d5\u4f5c\u3067\u304d\u308b\u6a21\u69d8\u3002\u3053\u308c\u306f\u4fbf\u5229\u305d\u3046\uff01\uff01\u3063\u3066\u3053\u3068\u3067\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h2 id=\"\u5c0e\u5165\u65b9\u6cd5\">\u5c0e\u5165\u65b9\u6cd5<\/h2>\n<h3 id=\"docker\u30a4\u30e1\u30fc\u30b8\u306e\u4f5c\u6210\u3068\u8d77\u52d5\">Docker\u30a4\u30e1\u30fc\u30b8\u306e\u4f5c\u6210\u3068\u8d77\u52d5<\/h3>\n<p>\u307e\u305a\u306fGitHub\u306b\u3042\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">cd projects\ngit clone git@https:\/\/github.com\/rubenmak\/PokemonGo-SlackBot.git<\/code><\/pre>\n<p>\u30af\u30ed\u30fc\u30f3\u3057\u305fDockerfile\u3092\u4f7f\u3063\u3066\u3001Docker\u30a4\u30e1\u30fc\u30b8\u3092Build\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">$ docker build -t pokemongo\/pokemongo .\/\nSending build context to Docker daemon 24.57 MB\nStep 1 : FROM python:2.7\n ---&gt; b5c7fb15c9cb\nStep 2 : ENV PROJECT_HOME \/opt\/PokemonGo-SlackBot\n ---&gt; Using cache\n ---&gt; 4827194948a5\nStep 3 : ADD . $PROJECT_HOME\n ---&gt; Using cache\n ---&gt; 44dd8de93d77\nStep 4 : WORKDIR $PROJECT_HOME\n ---&gt; Using cache\n ---&gt; 02ad3a0916e4\nStep 5 : RUN pip install -r requirements.txt\n ---&gt; Using cache\n ---&gt; a441f0fe2ede\nStep 6 : EXPOSE 5000\n ---&gt; Using cache\n ---&gt; 3d91a902276f\nSuccessfully built 3d91a902276f\n\n$ docker images\nREPOSITORY                               TAG                 IMAGE ID            CREATED             SIZE\npokemongo\/pokemongo                      latest              3d91a902276f        21 minutes ago      763.4 MB<\/code><\/pre>\n<p>\u30b3\u30f3\u30c6\u30ca\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">docker run -dit --name pokemon-slack pokemongo<\/code><\/pre>\n<h3 id=\"\u30dd\u30b1\u30e2\u30f3\u30c8\u30ec\u30fc\u30ca\u30fc\u30af\u30e9\u30d6\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6e96\u5099\u3059\u308b\">\u30dd\u30b1\u30e2\u30f3\u30c8\u30ec\u30fc\u30ca\u30fc\u30af\u30e9\u30d6\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6e96\u5099\u3059\u308b<\/h3>\n<p>Google\u30a2\u30ab\u30a6\u30f3\u30c8\u304b\u30dd\u30b1\u30e2\u30f3\u30c8\u30ec\u30fc\u30ca\u30fc\u30af\u30e9\u30d6\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u3001\u3069\u3061\u3089\u304b\u3092\u6e96\u5099\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u79c1\u306f\u65b0\u898f\u3067\u30dd\u30b1\u30e2\u30f3\u30c8\u30ec\u30fc\u30ca\u30fc\u30af\u30e9\u30d6\u3092\u4f5c\u6210\u3057\u3066\u4f7f\u3046\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/www.pokemon.com\/jp\/\">\u30dd\u30b1\u30e2\u30f3\u30c8\u30ec\u30fc\u30ca\u30fc\u30af\u30e9\u30d6 | Pokemon.com<\/a><\/p>\n<h3 id=\"slackapi\u306eincomingwebhooks\u3092\u6e96\u5099\u3059\u308b\">Slack API\u306eIncoming Webhooks\u3092\u6e96\u5099\u3059\u308b<\/h3>\n<p>\u7d50\u679c\u3092Slack\u306b\u4e0a\u3052\u308b\u305f\u3081\u306b\u3001Slack API\u306eIncoming Webhooks\u3092\u6e96\u5099\u3057\u307e\u3059\u3002<\/p>\n<p>Slack\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\u5de6\u306b\u3042\u308b\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cApps &amp; integrations\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c8.staticflickr.com\/9\/8779\/28579535175_299a57fa5e_m.jpg\" width=\"230\" height=\"207\" alt=\"pokemon\"><\/p>\n<p>\u691c\u7d22\u30d5\u30a9\u30fc\u30e0\u306b\u300cwebhook\u300d\u3068\u5165\u529b\u3057\u3001\u691c\u7d22\u7d50\u679c\u304b\u3089\u300cIncoming Webhooks\u300d\u3092\u9078\u629e\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c7.staticflickr.com\/8\/7713\/28473204062_9204e59775.jpg\" width=\"500\" height=\"250\" alt=\"App Directory\"><\/p>\n<p>\u300cADD configration\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c3.staticflickr.com\/9\/8427\/27962306194_e26368646a.jpg\" width=\"271\" height=\"426\" alt=\"Incoming WebHooks\"><\/p>\n<p>\u6295\u7a3f\u3055\u305b\u305f\u3044\u30c1\u30e3\u30f3\u30cd\u30eb\u540d\u3092\u9078\u629e\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c4.staticflickr.com\/9\/8608\/28501275851_fef9bcdb08.jpg\" width=\"500\" height=\"122\" alt=\"Incoming WebHooks\"><\/p>\n<p>Webhook URL\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c5.staticflickr.com\/9\/8689\/28295361020_448dc24e5f.jpg\" width=\"500\" height=\"123\" alt=\"Incoming WebHooks\"><\/p>\n<h3 id=\"\u30dd\u30b1\u30e2\u30f3\u3092\u63a2\u3057\u305f\u3044\u5834\u6240\u306e\u7def\u5ea6\u3068\u7d4c\u5ea6\u3092\u5165\u624b\u3059\u308b\u3002\">\u30dd\u30b1\u30e2\u30f3\u3092\u63a2\u3057\u305f\u3044\u5834\u6240\u306e\u7def\u5ea6\u3068\u7d4c\u5ea6\u3092\u5165\u624b\u3059\u308b\u3002<\/h3>\n<p>Google Map\u3092\u4f7f\u3063\u3066\u7def\u5ea6\u3068\u7d4c\u5ea6\u3092\u8abf\u3079\u307e\u3059\u3002\u5834\u6240\u3092\u6c7a\u3081\u3066\u304b\u3089\u8d64\u3044\u30d4\u30f3\u3092\u300c\u53f3\u30af\u30ea\u30c3\u30af\u300d \u2192 \u300c\u3053\u306e\u5834\u6240\u306b\u3064\u3044\u3066\u300d\u3092\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c7.staticflickr.com\/9\/8663\/28546762126_620522dbd9.jpg\" width=\"374\" height=\"358\" alt=\"\u4e0a\u91ce\u6069\u8cdc\u516c\u5712 - Google \u30de\u30c3\u30d5\u309a_ma1zd\"><\/p>\n<p>\u7def\u5ea6\u3068\u7d4c\u5ea6\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c1.staticflickr.com\/9\/8591\/28546772536_f836128a34.jpg\" width=\"413\" height=\"99\" alt=\"\u4e0a\u91ce\u6069\u8cdc\u516c\u5712 - Google \u30de\u30c3\u30d5\u309a_m2pmw\"><\/p>\n<h2 id=\"\u3055\u3063\u305d\u304f\u52d5\u304b\u3057\u3066\u307f\u308b\">\u3055\u3063\u305d\u304f\u52d5\u304b\u3057\u3066\u307f\u308b<\/h2>\n<p>\u4ee5\u4e0a\u3067\u6e96\u5099\u304c\u51fa\u6765\u307e\u3057\u305f\u306e\u3067\u3001\u3055\u3063\u305d\u304f\u52d5\u4f5c\u3059\u308b\u304b\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u307e\u305a\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">$ docker ps\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\nf3820269680d        3d91a902276f        &quot;python2&quot;           43 minutes ago      Up 43 minutes       5000\/tcp            pokemon-slack\n\n$ docker exec -it pokemon-slack bash\nroot@f3820269680d:\/opt\/PokemonGo-SlackBot#<\/code><\/pre>\n<p>\u7121\u4e8b\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u307e\u3057\u305f\u3002\u3053\u3053\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">$ python pokeslack.py -u [\u30e6\u30fc\u30b6\u540d] -p [\u30d1\u30b9\u30ef\u30fc\u30c9] -l &quot;[\u7def\u5ea6] [\u7d4c\u5ea6]&quot; -st 1 -r 1000 -sw [Webhook URL]<\/code><\/pre>\n<p>\u5834\u6240\u3092\u4e0a\u91ce\u516c\u5712\u306b\u3057\u3066\u3001\u4e2d\u5fc3\u304b\u3089\u534a\u5f84250m\u5185\u306b\u73fe\u308c\u308b\u30dd\u30b1\u30e2\u30f3\u3092\u901a\u77e5\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">$ python pokeslack.py -u [\u30e6\u30fc\u30b6\u540d] -p [\u30d1\u30b9\u30ef\u30fc\u30c9] -l &quot;35.715285 139.773285&quot; -st 1 -r [\u30dd\u30b1\u30e2\u30f3\u3092\u63a2\u3057\u305f\u3044\u8ddd\u96e2(\u30e1\u30fc\u30c8\u30eb)] -sw https:\/\/hooks.slack.com\/services\/xxxxxxxxx\/xxxxxxxxx\/xxxxxxxxxxxxxxxxxxxxxxxx<\/code><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c1.staticflickr.com\/9\/8580\/27962602904_61c7b18532.jpg\" width=\"500\" height=\"417\" alt=\"Slack_nl193\"><\/p>\n<p>\u308f\u3093\u3055\u304b\u51fa\u3066\u304d\u307e\u3057\u305f\u3002\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5730\u56f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c2.staticflickr.com\/9\/8631\/28501570441_9acfc0eab7.jpg\" width=\"500\" height=\"298\" alt=\"Poke\u0301Vision \u2014 Find, locate and track Pokemon near you or anywhere in the world live &amp; realtime in Pokemon GO!_94c8f\"><\/p>\n<h2 id=\"\u30dd\u30b1\u30e2\u30f3\u306e\u540d\u524d\u3092\u65e5\u672c\u8a9e\u8868\u793a\u306b\u3059\u308b\">\u30dd\u30b1\u30e2\u30f3\u306e\u540d\u524d\u3092\u65e5\u672c\u8a9e\u8868\u793a\u306b\u3059\u308b<\/h2>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3068\u30dd\u30b1\u30e2\u30f3\u306e\u540d\u524d\u304c\u82f1\u8a9e\u8868\u793a\u306a\u306e\u3067\u3059\u304c\u3001\u8d77\u52d5\u6642\u306b\u300c-L ja\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u52a0\u3048\u308b\u3068\u65e5\u672c\u8a9e\u8868\u793a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">$ python pokeslack.py -u [\u30e6\u30fc\u30b6\u540d] -p [\u30d1\u30b9\u30ef\u30fc\u30c9] -l &quot;35.715285 139.773285&quot; -st 1 -r [\u30dd\u30b1\u30e2\u30f3\u3092\u63a2\u3057\u305f\u3044\u8ddd\u96e2(\u30e1\u30fc\u30c8\u30eb)] -sw https:\/\/hooks.slack.com\/services\/xxxxxxxxx\/xxxxxxxxx\/xxxxxxxxxxxxxxxxxxxxxxxx -L ja<\/code><\/pre>\n<p>\u7121\u4e8b\u306b\u65e5\u672c\u8a9e\u8868\u8a18\u306b\u306a\u308a\u307e\u3057\u305f\uff01<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c2.staticflickr.com\/9\/8447\/28579969585_096de0d797.jpg\" width=\"500\" height=\"238\" alt=\"Slack_q0mst\"><\/p>\n<h2 id=\"\u30dd\u30b1\u30e2\u30f3\u306e\u30a2\u30a4\u30b3\u30f3\u8868\u793a\">\u30dd\u30b1\u30e2\u30f3\u306e\u30a2\u30a4\u30b3\u30f3\u8868\u793a<\/h2>\n<p>\u30dd\u30b1\u30e2\u30f3\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/Templarian\/slack-emoji-pokemon\">Templarian\/slack-emoji-pokemon: Slack Pokemon Emojis<\/a><\/p>\n<h3 id=\"\u4e8b\u524d\u6e96\u5099\">\u4e8b\u524d\u6e96\u5099<\/h3>\n<p>\u307e\u305a\u306fvim\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre><code class=\"bash\">$ apt-get install vim<\/code><\/pre>\n<p>nvm\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre><code class=\"bash\">$ wget -qO- https:\/\/raw.githubusercontent.com\/creationix\/nvm\/v0.18.0\/install.sh | bash\n$ echo &quot;source ~\/.nvm\/nvm.sh&quot; &gt;&gt; ~\/.profile\n$ source ~\/.nvm\/nvm.sh<\/code><\/pre>\n<p>node\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f0.11\u4ee5\u4e0a\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">$ nvm install 0.11<\/code><\/pre>\n<p>emojipacks\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre><code class=\"bash\">$npm install -g emojipacks\n\n$ which node\n\/root\/.nvm\/v0.11.16\/bin\/node<\/code><\/pre>\n<p>emojipacks\u306e\u8a2d\u5b9a\u5909\u66f4\u3002<\/p>\n<pre><code class=\"bash\">vim \/usr\/local\/bin\/emojipacks<\/code><\/pre>\n<p>\u4e00\u756a\u4e0a\u306e\u884c\u3092\u4ee5\u4e0b\u306b\u5909\u66f4\u3002<\/p>\n<pre><code class=\"bash\">#!\/root\/.nvm\/v0.11.16\/bin\/node --harmony<\/code><\/pre>\n<p>emojipacks\u5b9f\u884c\u3002\u3044\u304f\u3064\u304b\u805e\u304b\u308c\u308b\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5165\u529b\u3002<\/p>\n<pre><code class=\"bash\">$ emojipacks\nSlack subdomain: [Slack\u306e\u30c1\u30fc\u30e0\u30c9\u30e1\u30a4\u30f3]\nEmail address login: [\u30e6\u30fc\u30b6\u30fc\u306e\u30e1\u30a2\u30c9]\nPassword: [\u30d1\u30b9\u30ef\u30fc\u30c9]      \nPath or URL of Emoji yaml file: https:\/\/raw.githubusercontent.com\/templarian\/slack-emoji-pokemon\/master\/pokemon-prefix.yaml<\/code><\/pre>\n<p>\u300c-pi &#8217;:pokemon-&#8217;\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002\u65e5\u672c\u8a9e\u8868\u8a18\u3060\u3068\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u306e\u3067\u65e5\u672c\u8a9e\u8868\u8a18\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u5916\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"bash\">$ python pokeslack.py -u [\u30e6\u30fc\u30b6\u540d] -p [\u30d1\u30b9\u30ef\u30fc\u30c9] -l &quot;35.715285 139.773285&quot; -st 1 -r [\u30dd\u30b1\u30e2\u30f3\u3092\u63a2\u3057\u305f\u3044\u8ddd\u96e2(\u30e1\u30fc\u30c8\u30eb)] -sw https:\/\/hooks.slack.com\/services\/xxxxxxxxx\/xxxxxxxxx\/xxxxxxxxxxxxxxxxxxxxxxxx -pi &apos;:pokemon-&apos;<\/code><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/c4.staticflickr.com\/9\/8722\/27965417843_f224fd970f.jpg\" width=\"500\" height=\"152\" alt=\"Slack_792ky\"><\/p>\n<aside class=\"row veu_insertAds after\"><div class=\"col-md-12\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n                        <!-- cat_\u4e0a\u90e8 -->\r\n                        <ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-6102004203189610\" data-ad-slot=\"9628163001\" data-ad-format=\"auto\"><\/ins>\r\n                        <script>\r\n                        (adsbygoogle = window.adsbygoogle || []).push({});\r\n                        <\/script><\/div><\/aside>","protected":false},"excerpt":{"rendered":"<p>\u30dd\u30b1\u30e2\u30f3GO\u304c\u7570\u5e38\u306a\u4eba\u6c17\u306a\u3088\u3046\u3067\u3002\u305f\u3060\u5e38\u6642\u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u306f\u30d0\u30c3\u30c6\u30ea\u30fc\u7684\u306b\u53b3\u3057\u3044\u306e\u3067\u3001\u8fd1\u304f\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089\u901a\u77e5\u3057\u3066\u304f\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u7121\u3044\u304b\u306a\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u30ca\u30a4\u30b9\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u3067Qiita\u306b\u3053\u3093\u306a\u8a18\u4e8b\u304c\u30a2\u30c3\u30d7\u3055\u308c\u3066\u307e\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[255,298],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6307\u5b9a\u3057\u305f\u5834\u6240\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089Slack\u306b\u901a\u77e5\u3055\u305b\u308b - \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u65e5\u3005\u306e\u51fa\u6765\u4e8b\u3092\u8a9e\u308b<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itbook.info\/web\/2016\/07\/\u6307\u5b9a\u3057\u305f\u5834\u6240\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089slack\u306b\u901a\u77e5\u3055\u305b.html\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6307\u5b9a\u3057\u305f\u5834\u6240\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089Slack\u306b\u901a\u77e5\u3055\u305b\u308b - \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u65e5\u3005\u306e\u51fa\u6765\u4e8b\u3092\u8a9e\u308b\" \/>\n<meta property=\"og:description\" content=\"\u30dd\u30b1\u30e2\u30f3GO\u304c\u7570\u5e38\u306a\u4eba\u6c17\u306a\u3088\u3046\u3067\u3002\u305f\u3060\u5e38\u6642\u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u306f\u30d0\u30c3\u30c6\u30ea\u30fc\u7684\u306b\u53b3\u3057\u3044\u306e\u3067\u3001\u8fd1\u304f\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089\u901a\u77e5\u3057\u3066\u304f\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u7121\u3044\u304b\u306a\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u30ca\u30a4\u30b9\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u3067Qiita\u306b\u3053\u3093\u306a\u8a18\u4e8b\u304c\u30a2\u30c3\u30d7\u3055\u308c\u3066\u307e\u3057 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itbook.info\/web\/2016\/07\/\u6307\u5b9a\u3057\u305f\u5834\u6240\u306b\u30dd\u30b1\u30e2\u30f3\u304c\u73fe\u308c\u305f\u3089slack\u306b\u901a\u77e5\u3055\u305b.html\" \/>\n<meta property=\"og:site_name\" content=\"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u65e5\u3005\u306e\u51fa\u6765\u4e8b\u3092\u8a9e\u308b\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-27T07:40:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-27T07:40:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/c8.staticflickr.com\/9\/8779\/28579535175_299a57fa5e_m.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.itbook.info\/web\/#website\",\"url\":\"https:\/\/www.itbook.info\/web\/\",\"name\":\"\\u30cd\\u30c3\\u30c8\\u30ef\\u30fc\\u30af\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u304c\\u65e5\\u3005\\u306e\\u51fa\\u6765\\u4e8b\\u3092\\u8a9e\\u308b\",\"description\":\"\\u30cd\\u30c3\\u30c8\\u30ef\\u30fc\\u30af\\u30cd\\u30bf\\u3068\\u304b\\u3092\\u9069\\u5f53\\u306b\\u66f8\\u304d\\u6563\\u3089\\u304b\\u3059\\u30d6\\u30ed\\u30b0\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.itbook.info\/web\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.itbook.info\/web\/2016\/07\/%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e5%a0%b4%e6%89%80%e3%81%ab%e3%83%9d%e3%82%b1%e3%83%a2%e3%83%b3%e3%81%8c%e7%8f%be%e3%82%8c%e3%81%9f%e3%82%89slack%e3%81%ab%e9%80%9a%e7%9f%a5%e3%81%95%e3%81%9b.html#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/c8.staticflickr.com\/9\/8779\/28579535175_299a57fa5e_m.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.itbook.info\/web\/2016\/07\/%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e5%a0%b4%e6%89%80%e3%81%ab%e3%83%9d%e3%82%b1%e3%83%a2%e3%83%b3%e3%81%8c%e7%8f%be%e3%82%8c%e3%81%9f%e3%82%89slack%e3%81%ab%e9%80%9a%e7%9f%a5%e3%81%95%e3%81%9b.html#webpage\",\"url\":\"https:\/\/www.itbook.info\/web\/2016\/07\/%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e5%a0%b4%e6%89%80%e3%81%ab%e3%83%9d%e3%82%b1%e3%83%a2%e3%83%b3%e3%81%8c%e7%8f%be%e3%82%8c%e3%81%9f%e3%82%89slack%e3%81%ab%e9%80%9a%e7%9f%a5%e3%81%95%e3%81%9b.html\",\"name\":\"\\u6307\\u5b9a\\u3057\\u305f\\u5834\\u6240\\u306b\\u30dd\\u30b1\\u30e2\\u30f3\\u304c\\u73fe\\u308c\\u305f\\u3089Slack\\u306b\\u901a\\u77e5\\u3055\\u305b\\u308b - \\u30cd\\u30c3\\u30c8\\u30ef\\u30fc\\u30af\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u304c\\u65e5\\u3005\\u306e\\u51fa\\u6765\\u4e8b\\u3092\\u8a9e\\u308b\",\"isPartOf\":{\"@id\":\"https:\/\/www.itbook.info\/web\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.itbook.info\/web\/2016\/07\/%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e5%a0%b4%e6%89%80%e3%81%ab%e3%83%9d%e3%82%b1%e3%83%a2%e3%83%b3%e3%81%8c%e7%8f%be%e3%82%8c%e3%81%9f%e3%82%89slack%e3%81%ab%e9%80%9a%e7%9f%a5%e3%81%95%e3%81%9b.html#primaryimage\"},\"datePublished\":\"2016-07-27T07:40:49+00:00\",\"dateModified\":\"2016-07-27T07:40:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.itbook.info\/web\/#\/schema\/person\/3707482c5270f902ec5d92dba1db0920\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.itbook.info\/web\/2016\/07\/%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e5%a0%b4%e6%89%80%e3%81%ab%e3%83%9d%e3%82%b1%e3%83%a2%e3%83%b3%e3%81%8c%e7%8f%be%e3%82%8c%e3%81%9f%e3%82%89slack%e3%81%ab%e9%80%9a%e7%9f%a5%e3%81%95%e3%81%9b.html\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.itbook.info\/web\/#\/schema\/person\/3707482c5270f902ec5d92dba1db0920\",\"name\":\"na3620\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.itbook.info\/web\/#personlogo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1e7e7f8079aa707666c2a1069de805ef?s=96&d=mm&r=g\",\"caption\":\"na3620\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/posts\/2978"}],"collection":[{"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/comments?post=2978"}],"version-history":[{"count":1,"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/posts\/2978\/revisions"}],"predecessor-version":[{"id":2980,"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/posts\/2978\/revisions\/2980"}],"wp:attachment":[{"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/media?parent=2978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/categories?post=2978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itbook.info\/web\/wp-json\/wp\/v2\/tags?post=2978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}