Download match reply

Is it possible to make it possible to download match replays
I also want to be able to view matches that are currently happening via my laptop so I would like for a spectate player option on royaleapi,
Also maybe have a search matches by deck or something like that so if I want to spectate some Miner Poison or GG Sparky match that is happening currently then I can