Installing
Firstly your going to want to download the latest version of the API from nexus mods
Then your going to want to reference the dll in your project like you would with the BepInEx dll's.
Usage
The following example will show you how to spawn and teleport an item and tool to the player.
All items can be found under the StoreItem class. All tools can be found under the GameTool class.
using FusionModdingAPI.Model;
using FusionModdingAPI.Module;
var offset = Vector3.forward * 2 + Vector3.up;
// Teleporting an item to the player
var mapleSyrup = World.SpawnItem(StoreItem.KaliGaz["MapleSyrup"]);
TeleportObject.TeleportObjectToPlayer(mapleSyrup, offset);
//Teleporting a tool to the player
var wateringCan = World.SpawnItem(GameTool.WateringCan);
TeleportObject.TeleportObjectToPlayer(wateringCan, offset);