{"id":312015,"date":"2021-02-04T09:59:26","date_gmt":"2021-02-04T01:59:26","guid":{"rendered":"http:\/\/4563.org\/?p=312015"},"modified":"2021-02-04T09:59:26","modified_gmt":"2021-02-04T01:59:26","slug":"%e3%80%90%e6%95%99%e7%a8%8b%e3%80%91%e8%87%aa%e5%bb%ba%e7%94%b5%e6%8a%a5%e6%9c%ba%e5%99%a8%e4%ba%ba-telegram-bot%e5%ae%9e%e7%8e%b0%e6%b6%88%e6%81%af%e6%8e%a8%e9%80%81","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=312015","title":{"rendered":"\u3010\u6559\u7a0b\u3011\u81ea\u5efa\u7535\u62a5\u673a\u5668\u4eba\/telegram bot\u5b9e\u73b0\u6d88\u606f\u63a8\u9001"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>imes<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u3010\u6559\u7a0b\u3011\u81ea\u5efa\u7535\u62a5\u673a\u5668\u4eba\/telegram bot\u5b9e\u73b0\u6d88\u606f\u63a8\u9001<\/h3>\n<p>  \t\t\u81ea\u5df1\u7acb\u7684flag\u8981\u81ea\u5df1\u5b9e\u73b0\uff0c\u5177\u4f53flag\u8bf7\u79fb\u6b65https:\/\/www.hostloc.com\/thread-803987-1-1.html<\/p>\n<p>  \u8001\u89c4\u77e9\u5148\u5f15\u6d41 https:\/\/pa.ci\/119.html<\/p>\n<p>  \u4e4b\u524d\u4e00\u76f4\u7528server\u9171\u914d\u5408\u5fae\u4fe1\u5b9e\u73b0\u6d88\u606f\u63a8\u9001\uff0c\u4f46\u662f\u6700\u8fd1\u5fae\u4fe1\u5f00\u59cb\u6536\u7d27\uff0c\u540e\u671f\u6709\u65e0\u6cd5\u4f7f\u7528\u7684\u53ef\u80fd\u3002\u4e8e\u662f\u5728\u627e\u66ff\u4ee3\u54c1\uff0c\u5e38\u89c1\u7684\u5c31\u662f\u81ea\u5efa\u4e86\uff0c\u6bd4\u5982iOS\u5e73\u53f0\u4f7f\u7528bark\uff0c\u5b89\u5353\u4e0a\u7684gotify\uff0c\u66f4\u5c0f\u4f17\u7684\u6709\u5c0f\u7c73\u7528\u81ea\u5e26\u7684mipush\u7b49\u3002\u4f46\u662f\u7528\u8d77\u6765\u90fd\u9700\u8981\u81ea\u5efa\u670d\u52a1\uff0c\u6216\u8005\u9762\u4e34\u590d\u6742\u7684\u7f16\u5199\u73af\u5883\u3002\u4e00\u4e2a\u5408\u9002\u7684\u66ff\u4ee3\u54c1\u662ftelegram bot\uff0c\u652f\u6301\u591a\u79cd\u8bed\u8a00\uff0c\u65e2\u64cd\u4f5c\u7b80\u4fbf\u53c8\u529f\u80fd\u4f17\u591a\u5c24\u5176\u662f\u5728python\u5e73\u53f0\u4e0a\uff0c\u5982\u679c\u53ea\u60f3\u8fbe\u5230\u7c7b\u4f3cserver\u9171\u7684\u529f\u80fd\uff0c\u90a3\u76f4\u63a5post\u5373\u53ef\u3002<\/p>\n<p>  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>  \u4ee5\u4e0b\u4f7f\u7528python3\u73af\u5883\u4e3a\u4f8b\uff0c\u4fdd\u59c6\u7ea7\u6559\u7a0b\uff0c\u4ecebot\u7684\u7533\u8bf7\u5230python\u811a\u672c\u7684systemctl\u914d\u7f6e\u90fd\u6709\u3002<\/p>\n<p>  \u7533\u8bf7telegram bot<\/p>\n<p>  &nbsp; &nbsp; 1. \u6253\u5f00bot\u7684\u751f\u6210\u94fe\u63a5 https:\/\/t.me\/botfather (\u751f\u6210bot\u7684\u5730\u65b9\u53ebbot\u4e4b\u7236\u800c\u4e0d\u662f\u4e4b\u6bcd\uff0c\u53ef\u80fd\u9884\u793a\u4e86\u8bbe\u8ba1\u8005\u662f\u4e2a\u4fc4\u7f57\u65af\u4eba)\u3002<br \/>  &nbsp; &nbsp; 2. \u70b9\u51fb \/newbot &#8211; create a new bot \u751f\u6210\u65b0\u4e00\u4e2a\u7684bot\uff0c\u7cfb\u7edf\u4f1a\u8ba9\u4f60\u7ed9\u5b83\u53d6\u4e00\u4e2a\u540d\u5b57\uff0c\u8fd9\u91cc\u53ef\u4ee5\u968f\u4fbf\u8f93\u5165\uff0c\u53cd\u6b63\u65b9\u4fbf\u8bb0\u5c31\u53ef\u4ee5\u4e86\u3002<br \/>  &nbsp; &nbsp; 3. \u7cfb\u7edf\u4f1a\u518d\u6b21\u8ba9\u4f60\u53d6\u4e00\u4e2a\u540d\u5b57\u5e76\u8f93\u5165\uff0c\u73b0\u5728\u7684\u540d\u5b57\u5fc5\u987b\u4ee5bot\u7ed3\u5c3e\uff0c\u4e0d\u53ef\u4ee5\u548c\u5176\u4ed6\u4efb\u4f55bot\u91cd\u540d\u3002\u8fd9\u4e00\u6b65\u7684\u540d\u5b57\u7c7b\u4f3c\u4e8e\u8eab\u4efd\u8bc1\u53f7\u7801\uff0c\u800c\u524d\u4e00\u5e03\u7684\u540d\u5b57\u7c7b\u4f3c\u4e8e\u8eab\u4efd\u8bc1\u4e0a\u9762\u7684\u540d\u5b57\u3002\u8eab\u4efd\u8bc1\u4e0a\u7684\u540d\u5b57\u53ef\u4ee5\u91cd\u590d\uff0c\u4f46\u662f\u8eab\u4efd\u8bc1\u53f7\u7801\u4e0d\u5141\u8bb8\u91cd\u590d\u3002<br \/>  &nbsp; &nbsp; 4. \u4e00\u65e6\u4f60\u8f93\u5165\u7684bot\u540d\u5b57\u53ef\u7528\uff0c\u7cfb\u7edf\u4f1a\u751f\u6210\u4e00\u4e2atoken\u7ed9\u4f60\uff0c\u7c7b\u4f3c\u4e8e1689581149:AAGYVVjEHsaNjsnT8eQpWyshwr2o4PqU7u8\uff0c\u8bf7\u52a1\u5fc5\u4fdd\u5b58\u597d\u6b64token\u5e76\u4e14\u4e0d\u6cc4\u9732\uff0c\u8fd9\u662f\u552f\u4e00\u7684\u7528\u6237\u51ed\u8bc1\u3002<br \/>  &nbsp; &nbsp; <br \/>  \u6b64\u65f6\uff0c\u4f60\u62e5\u6709\u4e86\u4e00\u4e2abot\uff0c\u4f46\u662f\u8fd8\u65e0\u6cd5\u4f7f\u7528\uff0c\u56e0\u4e3a\u4f60\u77e5\u9053\u5b83\uff0c\u5b83\u4e0d\u77e5\u9053\u4f60\u3002\u8fd9\u65f6\u5019\u6253\u5f00 https:\/\/t.me\/iamthebot \u8fd9\u4e2a\u94fe\u63a5\uff0c\u6ce8\u610fiamthebot\u4e3a\u4f60\u521a\u624d\u65b0\u5efa\u7684bot\u7684\u540d\u5b57\uff01\u70b9\u51fb\/start\u8fdb\u5165\u5bf9\u8bdd\u6846\uff0c\u53d1\u9001@userinfobot\u540e\u5e76\u70b9\u51fb\u5b83\u3002userinfobot\u7684\u5bf9\u8bdd\u4e2d\uff0c\u70b9\u51fb\u6216\u8005\u8f93\u5165\/start\uff0c\u4f60\u5c06\u83b7\u53d6\u4e00\u4e2aId\/chat_id\uff0c\u5177\u4f53\u8868\u73b0\u4e3a\u4e00\u4e32\u6570\u5b57\uff0c\u6bd4\u5982387980691\u3002<\/p>\n<p>  \u81f3\u6b64\uff0c\u7535\u62a5\u7684\u673a\u5668\u4eba\u5df2\u7ecf\u7533\u8bf7\u5b8c\u6210\uff0c\u4f60\u83b7\u5f97\u4e86\u673a\u5668\u4eba\u7684bot\u540d\u5b57\uff0c\u4e00\u4e2atoken\uff0c\u8fd8\u6709\u4e00\u4e2achat_id<\/p>\n<p>  python3\u7a0b\u5e8f\u5b9e\u73b0\u6d88\u606f\u63a8\u9001<\/p>\n<p>  &nbsp; &nbsp; 1. \u7535\u62a5\u673a\u5668\u4eba\u7684\u529f\u80fd\u4f17\u591a\uff0c\u6240\u4ee5\u914d\u7f6e\u8d77\u6765\u5f88\u590d\u6742\uff0c\u597d\u5728\u6211\u4eec\u53ea\u9700\u8981\u4f7f\u7528\u6d88\u606f\u63a8\u9001\uff0c\u6240\u4ee5\u9009\u62e9\u4f7f\u7528python3\u548cpyTelegramBotAPI\u6765\u5b9e\u73b0\uff0c\u7a0b\u5e8f\u5199\u8d77\u6765\u4f1a\u5f88\u7b80\u5355\u3002<br \/>  &nbsp; &nbsp; 2. \u5b89\u88c5pyTelegramBotAPI\u65b9\u5f0f\u4e3apip3 install pyTelegramBotAPI\uff0c\u5982\u679c\u63d0\u793a\u6ca1\u6709pip\u6216\u8005pip3\uff0c\u8bf7\u81ea\u884c\u5b89\u88c5\uff0c\u6bcf\u4e2alinux\u7cfb\u7edf\u53ef\u80fd\u90fd\u4f1a\u6709\u5c11\u8bb8\u7684\u5dee\u5f02\uff0c\u5177\u4f53\u8bf7\u767e\u5ea6\/\u8c37\u6b4c\/\u5fc5\u5e94\/\u95ee\u522b\u4eba\u90fd\u884c\uff0c\u53cd\u6b63\u88c5\u4e0a\u53bb\u5c31\u884c\u4e86\u3002<br \/>  &nbsp; &nbsp;3.\u5b9e\u4f8b\u7a0b\u5e8f\u5982\u4e0b\uff0c\u5176\u4e2dTOKEN\u4e3a\u4f60\u7533\u8bf7\u5f97\u5230\u7684token\uff0ctb.send_message\u4e2d\u7684\u6570\u5b57\u4e3a\u4eceuserinfobot\u90a3\u91cc\u62ff\u5230\u7684ID\/chat_id\uff0ctext\u4e3a\u60f3\u8981\u63a8\u9001\u7684\u6d88\u606f\u3002<\/p>\n<p>  import telebot<\/p>\n<p>  TOKEN = &#8216;1689581149:AAGYVVjEHsaNjsnT8eQpWyshwr2o4PqU7u8&#8217;<br \/>  tb = telebot.TeleBot(TOKEN)<br \/>  text = &quot;I am the first telegram bot notification&quot;<br \/>  tb.send_message(387980691, text)<\/p>\n<p>  \u81f3\u6b64\uff0c\u8fd0\u884c\u8fd9\u4e2apython3\u7a0b\u5e8f\uff0c\u4e00\u4e2a\u7b80\u5355\u7684\u6d88\u606f\u63a8\u9001\u5df2\u7ecf\u5b9e\u73b0\u4e86\uff0c\u4f60\u4f1a\u5728\u548c\u8fd9\u4e2a\u673a\u5668\u4eba\u7684\u5bf9\u8bdd\u6846\u4e2d\u6536\u5230\u673a\u5668\u4eba\u53d1\u9001\u7ed9\u4f60\u7684\u6d88\u606f\u3002<\/p>\n<p>  \u7535\u62a5\u673a\u5668\u4eba\u7684\u5b9e\u9645\u4f7f\u7528\u6848\u4f8b<\/p>\n<p>  \u5728\u6811\u8393\u6d3e\u4e0a\u88c5\u4e86\u4e00\u4e2a\u5149\u654f\u4f20\u611f\u5668\uff0c\u7528\u6765\u5224\u65ad\u662f\u5426\u6709\u4eba\u5f00\u706f\u3002\u6bcf10\u79d2\u68c0\u67e5\u4e00\u6b21\u5149\u654f\u4f20\u611f\u5668\u7684\u72b6\u6001\uff0c\u5982\u679c\u53d1\u751f\u5f00\u706f\u6216\u8005\u5173\u706f\u52a8\u4f5c\uff0c\u90a3\u5c31\u901a\u8fc7\u7535\u62a5\u5668\u4eba\u53d1\u9001\u6d88\u606f\u7ed9\u6211\u3002\u7a0b\u5e8f\u4f9d\u65e7\u662fpython3\u548cpyTelegramBotAPI\u914d\u5408\uff0c\u5f15\u5165\u4e86GPIO\u8bfb\u53d6\u5149\u654f\u4f20\u611f\u5668\u53cd\u9988\u7684\u72b6\u6001\uff0c\u540c\u65f6\u4f7f\u7528systemctl\u5b9e\u73b0\u5f00\u673a\u81ea\u542f\u3002\u80fd\u770b\u5230\u8fd9\u4e00\u6b65\u6216\u8005\u6709\u7c7b\u4f3c\u9700\u6c42\u7684\uff0c\u5927\u6982\u591a\u5c11\u61c2\u70b9\u7a0b\u5e8f\u548clinux\u57fa\u7840\uff0c\u6211\u76f4\u63a5\u653e\u51fa\u6e90\u7801\u4ee5\u4f9b\u53c2\u8003\u3002<\/p>\n<p>  \u4ee5\u4e0b\u4e3a\u4e3b\u7a0b\u5e8f\uff0c\u4e3aGPIO\u8bfb\u53d6\u5149\u654f\u4f20\u611f\u5668\u72b6\u6001\uff0c\u4ee5\u53ca\u7535\u62a5\u673a\u5668\u4eba\u7684\u6d88\u606f\u63a8\u9001\u90e8\u5206\u3002<\/p>\n<p>  #!\/usr\/bin\/env python3<\/p>\n<p>  import RPi.GPIO as GPIO<br \/>  import telebot<br \/>  import time<\/p>\n<p>  GPIO.setmode(GPIO.BCM)<br \/>  GPIO.setup(17, GPIO.IN)<\/p>\n<p>  TOKEN = &#8216;1689581149:AAGYVVjEHsaNjsnT8eQpWyshwr2o4PqU7u8&#8217;<br \/>  tb = telebot.TeleBot(TOKEN)<\/p>\n<p>  # 0 is OFF<br \/>  VALUE = 0<\/p>\n<p>  try:<\/p>\n<p>  &nbsp; &nbsp; while True:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;nowtime=time.strftime(&#8216;%Y-%m-%d %H:%M:%S&#8217;,time.localtime(time.time()))<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;if GPIO.input(17):<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if VALUE == 0:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; pass<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;else:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; VALUE = 0<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; text = &quot;OFF! &quot; + nowtime<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; tb.send_message(387980691, text)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;else:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;if VALUE == 1:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; pass<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;else:<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; VALUE = 1<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; text = &quot;ON! &quot; + nowtime<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; tb.send_message(387980691, text)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;time.sleep #\u6b64\u5904\u6709sleep\u7684\uff0c\u4f46\u662floc\u628a\u5b83\u8fd9\u884c\u4ee3\u7801\u5f53args\u5c4f\u853d\u4e86\uff0c\u5177\u4f53\u5185\u5bb9\u53ef\u4ee5\u770b\u535a\u5ba2<br \/>  except:<br \/>  &nbsp; &nbsp; text = &quot;ERROR!&quot;<br \/>  &nbsp; &nbsp; tb.send_message(387980691, text)<\/p>\n<p>  \u4ee5\u4e0b\u4e3asystemctl\u7684service\u914d\u7f6e\u6587\u4ef6\uff0c\u6211\u4e60\u60ef\u6027\u653e\u5165\/etc\/systemd\/system\u4e2d\uff0c\u5e76\u5c06\u4e0a\u8ff0python\u7a0b\u5e8f\u653e\u5165\/etc\/lightelebot\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<p>  Description=Light Sensor Service<br \/>  After=multi-user.target<\/p>\n<p>  WorkingDirectory=\/etc\/lightelebot<br \/>  User=root<br \/>  Type=idle<br \/>  ExecStart=\/usr\/bin\/python3 \/etc\/lightelebot\/lightelebot.py<br \/>  Restart=always<\/p>\n<p>  WantedBy=multi-user.target<\/p>\n<p>  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>KuYeHQ<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u7ed9\u5927\u4f6c\u9876\u5e16\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u7a83\u683c\u74e6\u62c9<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u9a6c\u514b\u4e86https:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>no2<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u652f\u6301\u5927\u4f6chttps:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>caizi<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u9876\u6280\u672f\u8d34\uff01yc013t\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lokinT<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5927\u4f6c\u5389\u5bb3\uff0c\u5b66\u4e60\u5b66\u4e60\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>2AA<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u611f\u8c22\u5206\u4eab \u611f\u8c22\u586b\u5751 \u5b66\u4e60\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>plumn<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u9632\u76d7\u7528\u7684\u4e48\uff1fhttps:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>dope<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5b66\u4e60\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>imes<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 imes \u4e8e 2021-2-3 23:44 \u7f16\u8f91 <\/p>\n<p> plumn \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-2-3 23:16<br \/>  \u9632\u76d7\u7528\u7684\u4e48\uff1f<\/p>\n<p>  token\u4fdd\u5b58\u597d\u5c31\u4e0d\u4f1a\u88ab\u76d7\u7528\uff0c\u548cserver\u9171\u7c7b\u4f3c\u7684\u64cd\u4f5c<\/p>\n<p>  _______<br \/>  \u66f4\u65b0\uff0c\u8bef\u89e3\u4e86\u610f\u601d\u3002\u8fd9\u4e2a\u5149\u654f\u4f20\u611f\u5668\u662f\u7528\u6765\u8bb0\u5f55\u751f\u6d3b\u4f5c\u606f\u7684\uff0c\u65e5\u5e38\u6298\u817e\u70b9\u4e1c\u897f\u3002\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>imes \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u3010\u6559\u7a0b\u3011&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/312015"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=312015"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/312015\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=312015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=312015"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=312015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}