{"id":3784,"date":"2022-08-06T01:34:36","date_gmt":"2022-08-06T04:34:36","guid":{"rendered":"https:\/\/www.flulpycrea.com.ar\/wp\/?page_id=3784"},"modified":"2023-07-01T17:24:49","modified_gmt":"2023-07-01T20:24:49","slug":"function-getcurrentlocalevents","status":"publish","type":"page","link":"https:\/\/www.flulpycrea.com.ar\/wp\/documentacion\/api\/function-getcurrentlocalevents\/","title":{"rendered":"Function GetCurrentLocalEvents"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It gets any local event published by the owner of a establishment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Input parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>LAN = Target Local CyberName.<\/li>\n\n\n\n<li>ALL = 0 or 1, 0 = it don&#8217;t list expired events (default) (optional).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Example of usage:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wingamer.ar\/ApiMasterControl\/GetCurrentLocalEvents.php?LAN=flulpycrea\">https:\/\/wingamer.ar\/ApiMasterControl\/GetCurrentLocalEvents.php?LAN=flulpycrea<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Output:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Array {\u201cResponseClass\u201d:\u201dHEADER&#8221;, &#8220;LAN&#8221;: &#8220;string&#8221;, &#8220;LongLanName&#8221;: &#8220;string&#8221;, &#8220;LanAvatar&#8221;: &#8220;string&#8221;)<\/li>\n\n\n\n<li>Array {\u201cResponseClass\u201d:\u201dLIST\u201d, \u201cEventTag\u201d: \u201cstring\u201d, \u201cEventTitle\u201d:&nbsp;\u201cstring\u201d, &#8220;EventText&#8221;: &#8220;string&#8221;, \u201cEventImg\u201d:\u201dURL\u201d, &#8220;EventAvatar&#8221;: &#8220;string&#8221;, &#8220;EventOwnerCyberName&#8221;: &#8220;string&#8221;, &#8220;EventOwnerUserName&#8221;: &#8220;string&#8221;, &#8220;ExpireDate&#8221;: &#8220;string&#8221;}.<\/li>\n\n\n\n<li>Array {\u201cResponseClass\u201d:\u201dOK\u201d} \/\/ End Of List.<\/li>\n\n\n\n<li>Array {\u201cResponseClass\u201d:\u201dERROR\u201d, \u201dParam1\u2033:\u201derror message\u201d}<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>It gets any local event published by the owner of a establishment. Input parameters: Example of usage: https:\/\/wingamer.ar\/ApiMasterControl\/GetCurrentLocalEvents.php?LAN=flulpycrea Output:<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2693,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3784","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages\/3784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/comments?post=3784"}],"version-history":[{"count":5,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages\/3784\/revisions"}],"predecessor-version":[{"id":4397,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages\/3784\/revisions\/4397"}],"up":[{"embeddable":true,"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/pages\/2693"}],"wp:attachment":[{"href":"https:\/\/www.flulpycrea.com.ar\/wp\/wp-json\/wp\/v2\/media?parent=3784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}