# BookshelfAPI > Static accessor for retrieving the Bookshelf API instance. `gg.lode.bookshelfapi.BookshelfAPI` --- ## Signature ```java public class BookshelfAPI ``` --- ## Methods | Method | Return Type | Description | |--------|-------------|-------------| | `static setApi(IBookshelfAPI api)` | `void` | Registers the API implementation. | | `static getApi()` | `IBookshelfAPI` | Returns the current [[IBookshelfAPI]] instance. | --- ## Usage ```java IBookshelfAPI api = BookshelfAPI.getApi(); IChatManager chat = api.getChatManager(); ``` --- ## Related Pages - [[IBookshelfAPI]]