> For the complete documentation index, see [llms.txt](https://biologyscience.gitbook.io/alpha-coders/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://biologyscience.gitbook.io/alpha-coders/reference/methods/getwallpaper.md).

# getWallpaper

{% hint style="info" %}
This method belongs to the class - [Alpha](/alpha-coders/reference/classes/alpha.md)
{% endhint %}

### Parameters

| PARAMETER |                                                TYPE                                               |     DESCRIPTION    |
| :-------: | :-----------------------------------------------------------------------------------------------: | :----------------: |
|   **id**  | [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number) | ID of a Wallpaper. |

### Returns

[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[WallpaperInfo](/alpha-coders/reference/types.md#wallpaperinfo) | [null](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/null)>

### Example Code

```javascript
new Alpha(apiKey).getWallpaper(1).then(x => console.log(x));
```
