Roblox - How to transfer data from website to game

Hello as the title reads I need to transfer data, a variable from my website to my game. How am I supposed to do that in Roblox Studio? I have heard about API to use to transfer data..But I don't know how to apply that in Roblox Studio?