Raider.IO provides its own interfaces for add-on developers.
However, it is still too restricted for addon developers and is not a library. We can't load on demand the features of Raider.IO and it might be a waste of memory and storage. (Since you don't actually need to update other region's databases per day)
This addon requires Raider.IO LOD add-ons to work so you need to be extremely careful when using it. Do not use different versions of LibRaiderIO simultaneously.
How to use this addon?
First install Raider.IO LOD Database <Your Region> <Your Faction> AddOn.
local RIO = LibStub:GetLibrary("LibRaiderIO") local name, server = GetFullName("player") local raw = RIO.raw(2,name,server) --Get the player's Raid Information for i=1,RIO.raid_types do local difficulty,count,bosses,has_pool,instance = RIO.raid(raw,i) print(i,difficulty,count,bosses,has_pool,C_LFGList.GetActivityGroupInfo(instance)) end