---
description: How to get the api
---

# Introduction

**Current version: 3.0**



First, add the plugin to your plugin libs and add this dependency:

```xml
<dependency>
    <groupId>me.TastyCake</groupId>
    <artifactId>ItemsCore</artifactId>
    <version><version></version>
    <systemPath>${project.basedir}/libs/ItemsCore.jar</systemPath>
    <scope>system</scope>
</dependency>
```

Now to get the API you can do this:\
ItemsCoreAPI api = ItemsCore.getItemsCoreAPI();



Methods:

```javascript
getItemByName(String (name)) // Will return the item that goes by this name
giveItem(Player, Item) // Will give the item to the player (as ItemStack)
```
