{"id":42979,"date":"2022-10-21T18:10:00","date_gmt":"2022-10-21T09:10:00","guid":{"rendered":"https:\/\/happy-man.jp\/?p=42979"},"modified":"2022-10-17T23:16:44","modified_gmt":"2022-10-17T14:16:44","slug":"post-42979","status":"publish","type":"post","link":"https:\/\/happy-man.jp\/?p=42979","title":{"rendered":"LIVA\u541b\uff08LINUX MINT\uff09\u304b\u3089Python+ tweepy+PyEphem\u3067\u660e\u65e5\u306e\u65e5\u306e\u51fa\u3068\u65e5\u306e\u5165\u308a\u6642\u523b\u3092\u304a\u77e5\u3089\u305b\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f"},"content":{"rendered":"<p>\u6bce\u65e5\u6b63\u6642\u306e\u6642\u5831\u3092\u305f\u3060\u6de1\u3005\u3068\u5410\u304d\u51fa\u3059LIVA\u541b\u306a\u3093\u3067\u3059\u304c\u3001\u306a\u3093\u304b\u3082\u3046\u5c11\u3057\u8ce2\u3044\u3068\u3053\u308d\u898b\u3066\u898b\u305f\u3044\u3002<\/p>\n<p><a href=\"https:\/\/happy-man.jp\/?p=42959\">LIVA\u541b\uff08LINUX MINT\uff09\u304b\u3089Python+tweepy+cron\u3067\u6642\u5831\u3092\u304a\u77e5\u3089\u305b\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f &#8211; happyman web<\/a><\/p>\n<p>\u8272\u3005\u691c\u7d22\u3057\u3066\u3044\u305f\u3089\u3001Python\u3067\u65e5\u306e\u51fa\u3068\u65e5\u306e\u5165\u308a\u6642\u523b\u3092\u8a08\u7b97\u3059\u308b\u30e2\u30b8\u30e5\u30fc\u30eb \u300cPyEphem\u300d\u304c\u3042\u308b\u3089\u3057\u3044\u3002<\/p>\n<p><a href=\"http:\/\/www.sci-museum.kita.osaka.jp\/~egoshi\/astronomy\/python\/python.html\">Python \u3067\u5929\u6587\u8a08\u7b97<\/a><\/p>\n<p>\u89e3\u8aac\u304c\u4e01\u5be7\u306a\u306e\u3067\u81ea\u5206\u3067\u3082\u3084\u308c\u308b\u6c17\u304c\u3057\u305f\u3002<\/p>\n<p><strong><span style=\"font-size: 12pt;\">1\uff0e\u540d\u53e4\u5c4b\u5e02\u306e\u65e5\u306e\u51fa\u3068\u65e5\u306e\u5165\u308a\u6642\u523b\u3092\u8a08\u7b97\u3057\u3066\u307f\u308b\u3002<\/span><\/strong><\/p>\n<p>\u540d\u53e4\u5c4b\u5e02\u306e\u65e5\u306e\u51fa\u65e5\u306e\u5165\u308a\u3092Python\u3067\u8a08\u7b97\u3059\u308b\u306b\u306f\u3001\u65b0\u3057\u3044\u30e2\u30b8\u30e5\u30fc\u30eb\u300cPyEphem\u300d\u3068\u3044\u3046\u3082\u306e\u3092\u7d44\u307f\u8fbc\u3080\u5fc5\u8981\u304c\u3042\u308b\u3089\u3057\u3044\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>$pip install ephem<\/code><\/pre>\n<\/div>\n<p>\u3042\u3068\u306f\u30a2\u30f3\u30c1\u30e7\u30b3\u3092\u771f\u4f3c\u3066\u3001\u3053\u3093\u306a\u30bd\u30fc\u30b9\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-python\" data-lang=\"Python\"><code>import ephem\r\nimport datetime\r\n\r\n#\u65e5\u306e\u51fa\u3068\u65e5\u306e\u5165\u308a\u306e\u5834\u6240\u3092\u8a2d\u5b9a\r\nnagoya = ephem.Observer()\r\nnagoya.lat = '35.1855875'\u00a0\r\nnagoya.lon = '136.8990919'\r\n\r\n#Pyephem \u3067\u4f7f\u7528\u3059\u308b\u6642\u523b\u306f\u3001\u4e16\u754c\u6642\u3067\u8a2d\u5b9a\u3002\r\nnagoya.date = datetime.datetime.utcnow()\r\n\r\n#\u660e\u65e5\u306e\u592a\u967d\u306e\u65e5\u306e\u51fa\u65e5\u306e\u5165\u308a\u3092\u8a08\u7b97\r\nsun = ephem.Sun()\r\nprint('\u6b21\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u51fa\u6642\u523b:', ephem.localtime(nagoya.next_rising(sun)))\r\nprint('\u6b21\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u5165\u308a\u6642\u523b:', ephem.localtime(nagoya.next_setting(sun)))<\/code><\/pre>\n<\/div>\n<p><span style=\"font-size: 1.6rem;\">\u8d70\u3089\u305b\u308b\u3068\u3001\u3053\u3093\u306a\u611f\u3058\u3002<\/span><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border: 2px solid black;\" src=\"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/0bbc0f678f9f167b7a2470c8386fc6a1.png?resize=480%2C312&#038;ssl=1\" alt=\"\" width=\"480\" height=\"312\" \/><\/p>\n<p>\u3059\u3054\u3044\u306d\u3002\u8a08\u7b97\u3057\u3066\u304f\u308c\u308b\u3002<\/p>\n<p><strong><span style=\"font-size: 12pt;\">2\uff0e\u81ea\u6162\u3057\u305f\u304f\u306a\u3063\u305f\u306e\u3067Twitter\u3067\u5782\u308c\u6d41\u3057\u3057\u305f\u304f\u306a\u3063\u305f\u3002<\/span><\/strong><\/p>\n<p>\u305f\u3060\u306e\u6642\u5831\u3060\u3051\u3067\u306f\u7cde\u9762\u767d\u304f\u306a\u3044\u306e\u3067\u3001\u6709\u308b\u6642\u9593\u306b\u660e\u65e5\u306e\u65e5\u306e\u51fa\u3068\u65e5\u306e\u5165\u308a\u6642\u9593\u3092\u30c4\u30a4\u30fc\u30c8\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3053\u306e\u30bd\u30fc\u30b9\u3092\u8cbc\u3063\u3066\u3082\u4e0a\u624b\u304f\u884c\u304b\u306a\u3044\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>TypeError: can only concatenate str (not \"datetime.datetime\") to str<\/code><\/pre>\n<\/div>\n<p>\u3053\u3093\u306a\u30a8\u30e9\u30fc\u3092\u5410\u304d\u51fa\u3059\u3002\u3069\u3046\u3084\u3089datetime\u578b\u304b\u3089\u6587\u5b57\u5217\u578b\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3089\u3057\u3044\u3002<\/p>\n<p><a href=\"https:\/\/jpn.itlibra.com\/article?id=21515\">\u3010Python\u30a8\u30e9\u30fc\u3011can only concatenate str (not &#8220;datetime.datetime&#8221;) to str &#8211; IT\u6280\u8853\u7dcf\u5408Wiki | CWiki<\/a><\/p>\n<p>\u76f4\u3057\u305f\u3089\u3067\u307e\u3057\u305f\uff01<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\">\n<p lang=\"ja\" dir=\"ltr\">\u7a93\u969b\u304a\u3058\u3055\u3093\u306e\u306f\u3074\u305e\u3046\u306f\u5bdd\u307e\u3059\u660e\u65e5\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u51fa\u6642\u523b\u306f2022\/10\/18 06:00:18\u3067\u3059\u3002\u660e\u65e5\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u5165\u308a\u6642\u523b\u306f2022\/10\/18 17:14:27\u3067\u3059\u3002\u304a\u3084\u3059\u307f\u306a\u3055\u3044<\/p>\n<p>&mdash; \u306f\u3074\u305e\u3046 (@haptweepy) <a href=\"https:\/\/twitter.com\/haptweepy\/status\/1581989792442511367?ref_src=twsrc%5Etfw\">October 17, 2022<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p><strong><span style=\"font-size: 12pt;\">3\uff0e\u683c\u597d\u60aa\u3044\u306e\u3067\u30c4\u30a4\u30fc\u30c8\u306b\u6539\u884c\u3092\u5165\u308c\u305f\u304f\u306a\u3063\u305f\u3088\u3002<\/span><\/strong><\/p>\n<p>\u306a\u3093\u304b\u898b\u305f\u76ee\u304c\u683c\u597d\u60aa\u3044\u306e\u3067\u3001\u6539\u884c\u3092\u5165\u308c\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3069\u3046\u3084\u3063\u305f\u3089\u4e0a\u624b\u304f\u884c\u304f\u306e\u304b\u5c11\u3057\u8abf\u3079\u3066\u3044\u308b\u3068\u3001\u300c+&#8221;\\n&#8221;+\u300d\u3092\u9593\u306b\u5165\u308c\u3066\u3084\u308b\u3089\u3057\u3044\u3002<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\">\n<p lang=\"ja\" dir=\"ltr\">\u7a93\u969b\u304a\u3058\u3055\u3093\u306e\u306f\u3074\u305e\u3046\u306f\u5bdd\u307e\u3059\u3002<br \/>\u660e\u65e5\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u51fa\u6642\u523b\u306f2022\/10\/18 06:00:18\u3067\u3059\u3002<br \/>\u660e\u65e5\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u5165\u308a\u6642\u523b\u306f2022\/10\/18 17:14:27\u3067\u3059\u3002<br \/>\u304a\u3084\u3059\u307f\u306a\u3055\u3044<\/p>\n<p>&mdash; \u306f\u3074\u305e\u3046 (@haptweepy) <a href=\"https:\/\/twitter.com\/haptweepy\/status\/1581992610042085380?ref_src=twsrc%5Etfw\">October 17, 2022<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p>\u4e0a\u624b\u304f\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u4f5c\u3063\u305f\u30bd\u30fc\u30b9\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-python\" data-lang=\"Python\"><code>import tweepy\r\nimport ephem\r\nfrom my_module import #\u30c4\u30a4\u30fc\u30c8\u7528\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\r\nfrom pprint import pprint\r\nimport datetime\r\n\r\n#\u65e5\u306e\u51fa\u3068\u65e5\u306e\u5165\u308a\u306e\u5834\u6240\u3092\u8a2d\u5b9a\r\nnagoya = ephem.Observer()\r\nnagoya.lat = '35.1855875'\u00a0\r\nnagoya.lon = '136.8990919'\r\n\r\nnagoya.date = datetime.datetime.utcnow()\r\n\r\nsun = ephem.Sun()\r\ntimesunrise_str = ephem.localtime(nagoya.next_rising(sun)).strftime('%Y\/%m\/%d %H:%M:%S')\r\ntimesunset_str = ephem.localtime(nagoya.next_setting(sun)).strftime('%Y\/%m\/%d %H:%M:%S')\r\nprint('\u660e\u65e5\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u51fa\u6642\u523b:', ephem.localtime(nagoya.next_rising(sun)))\r\nprint('\u660e\u65e5\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u5165\u308a\u6642\u523b:', ephem.localtime(nagoya.next_setting(sun)))\r\n\r\n# \u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u6307\u5b9a\r\nmessage = \"\u7a93\u969b\u304a\u3058\u3055\u3093\u306e\u306f\u3074\u305e\u3046\u306f\u5bdd\u307e\u3059\u3002\"+\"\\n\"+\"\u660e\u65e5\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u51fa\u6642\u523b\u306f\"+timesunrise_str+\"\u3067\u3059\u3002\"+\"\\n\"+\"\u660e\u65e5\u306e\u540d\u53e4\u5c4b\u57ce\u306e\u65e5\u306e\u5165\u308a\u6642\u523b\u306f\"+timesunset_str+\"\u3067\u3059\u3002\"+\"\\n\"+\"\u304a\u3084\u3059\u307f\u306a\u3055\u3044\"\r\n\r\n# \u95a2\u6570\r\ndef CreateTweet(message):\r\n\u00a0 \u00a0 tweet = haptweepyapi.ClientInfo().create_tweet(text=message)\r\n\u00a0 \u00a0 return tweet\r\n\r\n# \u95a2\u6570\u5b9f\u884c\u30fb\u7d50\u679c\u51fa\u529b\r\npprint(CreateTweet(message))<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6bce\u65e5\u6b63\u6642\u306e\u6642\u5831\u3092\u305f\u3060\u6de1\u3005\u3068\u5410\u304d\u51fa\u3059LIVA\u541b\u306a\u3093\u3067\u3059\u304c\u3001\u306a\u3093\u304b\u3082\u3046\u5c11\u3057\u8ce2\u3044\u3068\u3053\u308d\u898b\u3066\u898b\u305f\u3044\u3002 LIVA\u541b\uff08LINUX MINT\uff09\u304b\u3089Python+tweepy+cron\u3067\u6642\u5831\u3092\u304a\u77e5\u3089\u305b\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f &#8211;  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"_lightning_design_setting":[],"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[31,27,141,142],"tags":[],"class_list":["post-42979","post","type-post","status-publish","format-standard","hentry","category-linux-mint","category-liva","category-python","category-tweepy"],"jetpack_publicize_connections":[],"jetpack-related-posts":[{"id":43020,"url":"https:\/\/happy-man.jp\/?p=43020","url_meta":{"origin":42979,"position":0},"title":"Python\u3067\u65e5\u306e\u51fa\u6642\u523b\u306a\u3069\u6bce\u65e5\u6642\u9593\u304c\u5909\u308f\u308b\u3082\u306e\u306b\u5bfe\u3059\u308b\u6b8b\u308a\u6642\u9593\u3092\u8a08\u7b97\u3057\u3066\u307f\u308b\u3002","author":"happyman","date":"2022\u5e7410\u670823\u65e5","format":false,"excerpt":"Python\u306eSchedule\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u306f\u3001\u6bce\u65e5\u306e\u6642\u523b\u306e\u6307\u5b9a\u306f\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u8a08\u7b97\u3057\u305f\u6642\u9593\u3092Sch\u2026","rel":"","context":"Linux mint","block_context":{"text":"Linux mint","link":"https:\/\/happy-man.jp\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/aa5729cdcbc19b90c3326e8945147299.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/aa5729cdcbc19b90c3326e8945147299.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/aa5729cdcbc19b90c3326e8945147299.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":43031,"url":"https:\/\/happy-man.jp\/?p=43031","url_meta":{"origin":42979,"position":1},"title":"\u65e5\u306e\u51fa\u6642\u523b\u3092\u304a\u77e5\u3089\u305b\u3059\u308bTweet\u3092\u5410\u304d\u51fa\u3059\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f","author":"happyman","date":"2022\u5e7410\u670824\u65e5","format":false,"excerpt":"\u65e5\u306e\u51fa\u3084\u65e5\u306e\u5165\u308a\u6642\u523b\u306a\u3069\u65e5\u3005\u523b\u3005\u3068\u5909\u308f\u308b\u6642\u9593\u304c\u3084\u3063\u3066\u304d\u305f\u3089Tweet\u3059\u308b\u3082\u306e\u3092\u4f5c\u3063\u3066\u307f\u305f\u306e\u3067\u5b9f\u88c5\u3057\u307e\u2026","rel":"","context":"Linux mint","block_context":{"text":"Linux mint","link":"https:\/\/happy-man.jp\/?cat=31"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":42959,"url":"https:\/\/happy-man.jp\/?p=42959","url_meta":{"origin":42979,"position":2},"title":"LIVA\u541b\uff08LINUX MINT\uff09\u304b\u3089Python+tweepy+cron\u3067\u6642\u5831\u3092\u304a\u77e5\u3089\u305b\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f","author":"happyman","date":"2022\u5e7410\u670819\u65e5","format":false,"excerpt":"cron\u3067\u6240\u5b9a\u306e\u6642\u9593\u306b\u30c4\u30a4\u30fc\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u6b32\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002 LIVA\u541b\uff08LINUX MIN\u2026","rel":"","context":"Linux mint","block_context":{"text":"Linux mint","link":"https:\/\/happy-man.jp\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/SnapCrab_NoName_2022-10-16_12-53-46_No-00.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/SnapCrab_NoName_2022-10-16_12-53-46_No-00.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/SnapCrab_NoName_2022-10-16_12-53-46_No-00.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/SnapCrab_NoName_2022-10-16_12-53-46_No-00.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":42966,"url":"https:\/\/happy-man.jp\/?p=42966","url_meta":{"origin":42979,"position":3},"title":"TwitterAPI V2\u306e\u30a2\u30af\u30bb\u30b9\u8a8d\u8a3c\u306e\u90e8\u5206\u3092\u30e2\u30b8\u30e5\u30fc\u30eb\u5316\u3057\u3066\u307f\u305f","author":"happyman","date":"2022\u5e7410\u670820\u65e5","format":false,"excerpt":"\u306a\u3093\u304b\u8abf\u5b50\u3088\u304fLIVA\u541b\u304cTwitterbot\u306b\u306a\u308a\u3064\u3064\u3042\u308b\u306e\u3067\u3059\u304c\u3001Twitter\u306e\u8a8d\u8a3c\u306e\u90e8\u5206\u304c\u90aa\u2026","rel":"","context":"Linux mint","block_context":{"text":"Linux mint","link":"https:\/\/happy-man.jp\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/SnapCrab_NoName_2022-10-16_13-38-50_No-00.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/SnapCrab_NoName_2022-10-16_13-38-50_No-00.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/SnapCrab_NoName_2022-10-16_13-38-50_No-00.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/SnapCrab_NoName_2022-10-16_13-38-50_No-00.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":43011,"url":"https:\/\/happy-man.jp\/?p=43011","url_meta":{"origin":42979,"position":4},"title":"Python\u306eSchedule\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3063\u3066Twitter\u306b\u6642\u5831\u3092\u5410\u304d\u51fa\u3057\u3066\u307f\u305f\u3002","author":"happyman","date":"2022\u5e7410\u670822\u65e5","format":false,"excerpt":"Linux\u306b\u306fcron\u304c\u6709\u308b\u3051\u3069\u3082\u3001Windows\u306b\u306fcron\u304c\u306a\u3044\u306e\u3067\u3001Windows\u3067\u5b9a\u6642\u8d77\u52d5\u3055\u2026","rel":"","context":"Linux mint","block_context":{"text":"Linux mint","link":"https:\/\/happy-man.jp\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/a658ada500911819d41bbaa8bdba9ed0.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/a658ada500911819d41bbaa8bdba9ed0.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/happy-man.jp\/wp-content\/uploads\/2022\/10\/a658ada500911819d41bbaa8bdba9ed0.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":43105,"url":"https:\/\/happy-man.jp\/?p=43105","url_meta":{"origin":42979,"position":5},"title":"\u306f\u3074\u305e\u3046\u541b\u3067Tweepy\u81ea\u52d5\u30ea\u30d7\u30e9\u30a4\uff08V2\uff09\u3059\u308b\u5185\u5bb9\u3092\u307b\u3093\u306e\u3061\u3087\u3063\u3068\u3060\u3051\u8ce2\u304f\u3057\u3066\u307f\u305f","author":"happyman","date":"2022\u5e7411\u67086\u65e5","format":false,"excerpt":"\u306f\u3074\u305e\u3046\u541b\uff08@haptweepy\uff09\u306b\u4f55\u304b\u8a71\u3057\u304b\u3051\u305f\u3089\u8fd4\u4e8b\u3092\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002 Twitter\u3067\u3001\u81ea\u52d5\u2026","rel":"","context":"Linux mint","block_context":{"text":"Linux mint","link":"https:\/\/happy-man.jp\/?cat=31"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/happy-man.jp\/index.php?rest_route=\/wp\/v2\/posts\/42979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/happy-man.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/happy-man.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/happy-man.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/happy-man.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=42979"}],"version-history":[{"count":4,"href":"https:\/\/happy-man.jp\/index.php?rest_route=\/wp\/v2\/posts\/42979\/revisions"}],"predecessor-version":[{"id":42983,"href":"https:\/\/happy-man.jp\/index.php?rest_route=\/wp\/v2\/posts\/42979\/revisions\/42983"}],"wp:attachment":[{"href":"https:\/\/happy-man.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happy-man.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=42979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happy-man.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=42979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}