Update: We just added scripting language support

Notice about any update or system change
Post Reply
Administrator
Site Admin
Posts: 36
Joined: Tue Mar 07, 2023 7:56 am

Update: We just added scripting language support

Post by Administrator »

Hello, finally we added support for programming language on wapka. Now any one can write php/python like code and do everything.
No need to use tag code any more. REST API is now available as

Code: Select all

api.method_name
library.
here how you can use Lua code on wapka Script:

Code: Select all

--user list using wapka script
local param = {
    limit = 10, --> maximum 10 item
    order = "id_desc"
}

local is_ok, userlist = api.user_info(param) --> calling rest api method for user list
print(userlist); --> show result
Old style html tag file list

Code: Select all

--file list using wapka script
local tags = [=[
<tr><td width="23%" align="left" valign="top" margin="auto">
<img src="%thumb%" title="%name%" name="%name%" alt="%name%" width="65" height="56" style="border-radius:2px;"/>
<br/></td><td align="left"><a href="/download/%id%/%name|slug%"><b>%name%.%format%</b></a><br/>
<b><font color="gold">Size:</font></b> %size%<br/><b><font color="gold">Upload at: </font> </b> %date|date%</td></tr>
<tr><td colspan="2" align="left"><div style="background:#444;border-top: 1px solid #505050;padding:3px 0px 3px 6px;margin:0px 0px 0px 0px;">
<font color="gold"><b> Category:</b> </font> 
  <a href="/category/%dir%/%dirname|slug%" style="color:#ddd"><b>%dirname%</b></a> </div>
</td></tr>
]=]
local param = {
    limit = 10, --> maximum 10 item per page
    order = "id_desc"
}

local is_ok, list = api.file_info(param) --> calling rest api method for file list

if is_ok then
    print(html.render_tag(tags, list, true)); ---> render all item recursively
end
print(list); --> view all as json
All REST API function is converted to function so test it now and give your suggest so we and make it better.
Stay tuned we will add full information soon.
To learn more about lua go to: https://jonayed-hossan.com/learn-lua-sc ... -language/
User avatar
francisco
Posts: 62
Joined: Tue Mar 07, 2023 1:48 pm
Location: Brazil
Contact:

Re: We just added scripting language support

Post by francisco »

This is wild, I can't fathom how amazing this is 😲
vikkas
Posts: 84
Joined: Sun May 07, 2023 9:28 am

Re: We just added scripting language support

Post by vikkas »

Awesome bro, Super
shrmaprem0202
Posts: 39
Joined: Tue Mar 07, 2023 7:13 pm
Contact:

Re: We just added scripting language support

Post by shrmaprem0202 »

Please post a example of userlist with source code
vikkas
Posts: 84
Joined: Sun May 07, 2023 9:28 am

Re: We just added scripting language support

Post by vikkas »

Admin demo please
obaydulbc
Posts: 29
Joined: Tue Mar 07, 2023 1:37 pm

Re: Update: We just added scripting language support

Post by obaydulbc »

Awesome
RyujiSaeki
Posts: 0
Joined: Mon Oct 28, 2024 5:37 am
Contact:

Learn More About EA Sports FC 26 Ahead of Release

Post by RyujiSaeki »

EA's long-running football simulation game will be getting a new installment, EA Sports FC 26, on September 26th of this year.

As with previous installments, FC 26's price remains unchanged and is as follows:

Standard Edition cost $69.99/£69.99

Ultimate Edition cost $99.99/£99.99

Nintendo Switch 2 cost $89.99/£79.99

Owners of the Ultimate Edition will receive a week's early access to the game, allowing players to choose the best option based on their needs.

Notably, FC 26 will be the first time the EAFC series has been released on a handheld console, so we can expect to see how it performs on the Nintendo Switch 2.

For EAFC 26, Jude Bellingham and Jamal Musiala will be the cover stars of the Standard Edition. Legendary striker Zlatan Ibrahimovic will also be making a comeback as the cover star of the Ultimate Edition.

As we all know, EA places a heavy emphasis on gameplay updates, and this is also true for FC 26. In addition to retaining all the iconic game modes from the EA series, FC 26 also adds a brand-new competitive mode called Challenger. In this mode, players can fully unleash their creativity and personalize their playstyle, enjoying the fun and satisfaction of competition.

Of course, a sufficient supply of FC 26 coins is essential to help players acquire powerful players and build a strong team.

IGGM.com is the best place to buy FC 26 coins for your team!

Well, not everyone has the time to complete a variety of complex tasks and competitions to earn coins. Therefore, if you want to earn a sufficient number of FC 26 coins in a short period, a good opportunity is essential.

Image

IGGM is such a choice, effectively helping players resolve any issues that may arise in the game, greatly enhancing their in-game experience.

If you're so inclined, IGGM Coupon, some offering substantial discounts or even free coins, can greatly alleviate pressure and enhance the gaming experience.

References: EA FC 26 (4 Most Anticipated Features): These Features Might Help It Stand Out From The Same Game!

Regardless, players can look forward to FC 26, which will mark another milestone in the EA FC series.
Post Reply