# fromTag

{% hint style="info" %}
This method belongs to the property - [getSpecificWallpapers](https://biologyscience.gitbook.io/alpha-coders/reference/properties/getspecificwallpapers)
{% endhint %}

### Parameters

<table><thead><tr><th width="150" align="center">PARAMETER</th><th width="191.85862695519765" align="center">TYPE</th><th width="150" align="center">OPTIONAL</th><th width="243.15384615384616" align="center">DESCRIPTION</th></tr></thead><tbody><tr><td align="center"><strong>id</strong></td><td align="center"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number">Number</a></td><td align="center"></td><td align="center">ID of the Tag.</td></tr><tr><td align="center"><strong>options</strong></td><td align="center"><a href="../../types#getwallpaperoptions">GetWallpaperOptions</a></td><td align="center"><span data-gb-custom-inline data-tag="emoji" data-code="1f44d">👍</span></td><td align="center">Optional parameters.</td></tr></tbody></table>

### Returns

[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Wallpaper](https://biologyscience.gitbook.io/alpha-coders/types#wallpaper)> | [null](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/null)>

### Example Code

```javascript
<getWallpapers>.fromTag(1).then(x => console.log(x));

// OR

<getWallpapers>.fromTag(1, {
    page: 10,
    operator: 'min',
    type: 'phone',
    ratio: [0.75, 1]
}).then(x => console.log(x));
```
