夢ã®ä¸çã¸ãæå¾ ãªã®ã§ã Public RESTful Application Programming Interface Series. éçºè åãã® API ãæä¾ãã¦ãã¾ãã ãªã¯ã¨ã¹ã / ã¬ã¹ãã³ã¹ã®å ±éä»æ§API ã®æåã»å¤±æ㯠HTTP ã®ã¹ãã¼ã¿ã¹ã³ã¼ãã«ããå¤å¥ã§ãã¾ããæåããå ´åã«ã¯å¿ ã 200 ãè¿ãã¾ããã¬ã¹ãã³ã¹ã¯æ´å½¢ããã JSON ã§ããã¯ã¨ãªã« prettyPrint=false ãæå®ããã¨æ´å½¢ãããªãç¶æ ã§åå¾ã§ããã¬ã¹ãã³ã¹ãé«éã«ãªãã¾ãããªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã«ã¯ãæååãæ´æ°ãæµ®åå°æ°ç¹æ°ãçå½å¤ãæå»ãåæåã® 6 種é¡ã®åã¨ããã®é ååãããã¾ããçå½å¤ã¯ true ã¾ã㯠false ã§ããã以å¤ã®æååã¯æå®ã§ãã¾ãããå¤ãçç¥ããå ´å㯠true ã¨ã¿ãªããã¾ããæå»ã¯ Ruby ã® Time.parse ã§åçã§ãããããã表è¨ãåã
ã©ãã ã¢ã¤ãã¹ã® API ã¨è¨ãã° im@study ã® im@sparql 辺ããããããããªã·ã¿ãªã³ãªã¼ã§ããã° REST ã§ä½¿ããã¨ã³ããã¤ã³ããããã api.matsurihi.me ç¹å®ã®ã¨ã³ããã¤ã³ãã¸ãªã¯ã¨ã¹ããéãã¨å¯¾å¿ãã json ãã¼ã¿ãè¿ã£ã¦æ¥ããè¦ãæãå人éå¶ã®æå¿ãµã¼ãã¹ãªã®ã§ã使ãæã¯å æ¸ãããè¦ç¸è«æ¡ä»¶ãï¼ããããã®ã«ãéè½ã¨ãã¹ãã ããªã¨æã£ããï¼ ãã£ããã ãã軽ãå®è·µãã¦ã¿ãã楽ãããã®ã§æ £ãã¦ã Nuxt.js 㨠axios ã¢ã¸ã¥ã¼ã«ã®ã¿ã§ããã¤ãéã create-nuxt-app ãã axios ã¢ã¸ã¥ã¼ã«ã使ãè¨å®ãUI 㯠element-ui ã§ããã¸ã§ã¯ãä½æã ä»åå©ç¨ããã¨ã³ããã¤ã³ãã¯ã«ã¼ãIDããã«ã¼ãæ å ±ãåãããã®ããããªæãã§ã¢ã¯ã»ã¹ããã const data = await this.$axios.$get(
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}