{"id":2159,"date":"2017-06-23T19:16:43","date_gmt":"2017-06-23T19:16:43","guid":{"rendered":"http:\/\/crypt3r.ir\/wp\/?p=2159"},"modified":"2017-06-26T16:05:05","modified_gmt":"2017-06-26T16:05:05","slug":"%d8%b3%d9%88%d8%b1%d8%b3-%da%a9%d8%af-%da%af%d8%b1%d9%81%d8%aa%d9%86-%d9%85%d8%b4%d8%ae%d8%b5%d8%a7%d8%aa-%d8%a7%d8%b2-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1-%d8%af%d8%b1-%d8%a7%db%8c%d9%86%d8%aa%d8%b1%d9%86","status":"publish","type":"post","link":"https:\/\/crypt3r.ir\/wp\/%d8%b3%d9%88%d8%b1%d8%b3-%da%a9%d8%af-%da%af%d8%b1%d9%81%d8%aa%d9%86-%d9%85%d8%b4%d8%ae%d8%b5%d8%a7%d8%aa-%d8%a7%d8%b2-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1-%d8%af%d8%b1-%d8%a7%db%8c%d9%86%d8%aa%d8%b1%d9%86\/","title":{"rendered":"\u0633\u0648\u0631\u0633 \u06a9\u062f \u06af\u0631\u0641\u062a\u0646 \u0645\u0634\u062e\u0635\u0627\u062a \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631 \u062f\u0631 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a ( json )"},"content":{"rendered":"<p><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt;\">\u0628\u0627 \u0633\u0644\u0627\u0645 \u0648 \u062e\u06cc\u0631 \u0645\u0642\u062f\u0645 \u0634\u0645\u0627 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0639\u0632\u06cc\u0632\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt;\">\u0633\u0648\u0631\u0633\u06cc \u06a9\u0647 \u0627\u0645\u0631\u0648\u0632 \u0628\u0631\u0627\u062a\u0648\u0646 \u0645\u0647\u06cc\u0627 \u06a9\u0631\u062f\u0645 <span style=\"color: #ff0000;\">api \u00a0<\/span>\u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0639\u062a\u0628\u0631\u062a\u0631\u06cc\u0646 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u06af\u0631\u0641\u062a\u0646 \u0645\u0634\u062e\u0635\u0627\u062a \u0648 \u0645\u062e\u062a\u0635\u0627\u062a \u0648 \u0622\u06cc \u067e\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0634\u0645\u0627 \u0645\u06cc\u0628\u0627\u0634\u062f .<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt;\"><span style=\"color: #ff0000;\">\u0633\u0627\u06cc\u062a \u0645\u0648\u0631\u062f \u0646\u0638\u0631<\/span> :\u00a0<span style=\"color: #0000ff;\">http:\/\/ip-api.com<\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt;\">\u0627\u06cc\u0646 \u0633\u0627\u06cc\u062a \u0648 \u0627\u06cc\u0646 \u0633\u0648\u0631\u0633 \u062e\u06cc\u0644\u06cc \u06a9\u0627\u0631 \u0622\u0645\u062f \u0647\u0633\u062a .<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/crypt3r.ir\/wp\/wp-content\/uploads\/2017\/06\/Capture_2017_06_23_23_29_01_708.jpg\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt;\">\u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u06a9\u0647 \u0634\u0645\u0627 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0631\u0648 \u0628\u0647 \u0686\u0646\u062f\u06cc\u0646 \u062d\u0627\u0644\u062a \u0645\u06cc\u062a\u0648\u0646\u06cc\u062f \u0628\u06af\u06cc\u0631\u06cc\u062f :<\/span><\/p>\n<p>&nbsp;<\/p>\n<ul style=\"list-style-type: square;\">\n<li><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt; color: #800080;\"><strong>json<\/strong><\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt; color: #800080;\"><strong>batch<\/strong><\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt; color: #800080;\"><strong>csv<\/strong><\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt; color: #800080;\"><strong>line<\/strong><\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt; color: #800080;\"><strong>php<\/strong><\/span><\/li>\n<li><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt; color: #800080;\"><strong>xml<\/strong><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt;\">\u0645\u0646 \u06cc\u06a9 \u0646\u0645\u0648\u0646\u0647 \u0627\u0632 \u062f\u0631\u06cc\u0627\u0641\u062a \u0628\u0647 \u0635\u0648\u0631\u062a \u062c\u06cc\u0633\u0648\u0646 \u0631\u0648 \u0628\u0631\u0627\u062a\u0648\u0646 \u0645\u06cc\u0632\u0627\u0631\u0645 \u06a9\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0633\u0648\u0631\u0633 \u06cc\u0627 \u0642\u0637\u0639\u0647 \u06a9\u062f \u0645\u0627 \u0627\u0648\u0645\u062f\u06cc\u0645 \u0647\u0645\u0647 \u0631\u0648 \u0644\u0627\u06af \u06a9\u0631\u062f\u06cc\u0645 .<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: 'comic sans ms', sans-serif; font-size: 14pt;\">\u0627\u0645\u06cc\u062f \u0648\u0627\u0631\u062f\u0645 \u0645\u0641\u06cc\u062f \u0648\u0627\u0642\u0639 \u06af\u0631\u062f\u062f .<\/span><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">Sub Activity_Create(FirstTime As Boolean)\r\n\r\n\tDim http As HttpJob\r\n\thttp.Initialize(\"http\",Me)\r\n\thttp.Download(\"http:\/\/ip-api.com\/json\")\r\n\r\nEnd Sub\r\n\r\n\r\n\r\nSub jobdone(job As HttpJob)\r\n\r\n\tDim parser As JSONParser\r\n\tparser.Initialize(job.GetString)\r\n\tDim root As Map = parser.NextObject\r\n\tDim zip As String\r\n\t\r\n\tLog( root.Get(\"zip\"))\r\n\t\r\n\tDim country As String\r\n\t\r\n\tLog( root.Get(\"country\"))\r\n\t\r\n\tDim city As String\r\n\t\r\n\tLog( root.Get(\"city\"))\r\n\t\r\n\tDim org As String\r\n\t\r\n\tLog( root.Get(\"org\"))\r\n\t\r\n\tDim timezone As String\r\n\t\r\n\tLog( root.Get(\"timezone\"))\r\n\t\r\n\tDim isp As String\r\n\t\r\n\tLog(\t root.Get(\"isp\"))\r\n\t\r\n\tDim query As String\r\n\t\r\n\tLog( root.Get(\"query\"))\r\n\t\r\n\tDim regionName As String\r\n\t\r\n\tLog( root.Get(\"regionName\"))\r\n\t\r\n\tDim lon As Double\r\n\t\r\n\tLog(\t root.Get(\"lon\"))\r\n\t\r\n\tDim As As String\r\n\t\r\n\tLog( root.Get(\"as\"))\r\n\t\r\n\tDim countryCode As String\r\n\t\r\n\tLog( root.Get(\"countryCode\"))\r\n\t\r\n\tDim region As String\r\n\t\r\n\tLog(\t root.Get(\"region\"))\r\n\t\r\n\tDim lat As Double\r\n\t\r\n\tLog( root.Get(\"lat\"))\r\n\t\r\n\tDim status As String\r\n\t\r\n\tLog( root.Get(\"status\"))\r\n\r\nEnd Sub<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0627 \u0633\u0644\u0627\u0645 \u0648 \u062e\u06cc\u0631 \u0645\u0642\u062f\u0645 \u0634\u0645\u0627 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0639\u0632\u06cc\u0632\u00a0 &nbsp; \u0633\u0648\u0631\u0633\u06cc \u06a9\u0647 \u0627\u0645\u0631\u0648\u0632 \u0628\u0631\u0627\u062a\u0648\u0646 \u0645\u0647\u06cc\u0627 \u06a9\u0631\u062f\u0645 api \u00a0\u06cc\u06a9\u06cc \u0627\u0632 \u0645\u0639\u062a\u0628\u0631\u062a\u0631\u06cc\u0646 \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u06af\u0631\u0641\u062a\u0646 \u0645\u0634\u062e\u0635\u0627\u062a \u0648 \u0645\u062e\u062a\u0635\u0627\u062a \u0648 \u0622\u06cc \u067e\u06cc \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0634\u0645\u0627 \u0645\u06cc\u0628\u0627\u0634\u062f . &nbsp; \u0633\u0627\u06cc\u062a \u0645\u0648\u0631\u062f \u0646\u0638\u0631 :\u00a0http:\/\/ip-api.com &nbsp; \u0627\u06cc\u0646 \u0633\u0627\u06cc\u062a \u0648 \u0627\u06cc\u0646 \u0633\u0648\u0631\u0633 \u062e\u06cc\u0644\u06cc \u06a9\u0627\u0631 \u0622\u0645\u062f \u0647\u0633\u062a . &nbsp; &nbsp; \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2160,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[157,113,20],"tags":[555,554,551,173,552,322,553,550],"class_list":["post-2159","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-b4a","category-113","category-source","tag-batch","tag-csv","tag-ip","tag-json","tag-line","tag-php","tag-xml","tag-550"],"_links":{"self":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts\/2159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/comments?post=2159"}],"version-history":[{"count":0,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/posts\/2159\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/media\/2160"}],"wp:attachment":[{"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/media?parent=2159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/categories?post=2159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crypt3r.ir\/wp\/wp-json\/wp\/v2\/tags?post=2159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}