> ## Documentation Index
> Fetch the complete documentation index at: https://generaltranslation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TrendsClient

ट्रेंड्स ऑपरेशनों के लिए Client

यह Client X API के ट्रेंड्स एंडपॉइंट्स के साथ इंटरैक्ट करने के लिए मेथड उपलब्ध कराता है।
यह सभी ट्रेंड्स-संबंधित ऑपरेशनों के लिए प्रमाणीकरण, अनुरोध फ़ॉर्मैटिंग और रिस्पॉन्स
पार्सिंग को संभालता है।

zed]\(/xdks/typescript/reference/classes/TrendsClient#getpersonalized)

<div id="constructors">
  ## कंस्ट्रक्टर्स
</div>

<div id="constructor">
  ### constructor
</div>

• **new TrendsClient**(`client`): [`TrendsClient`](/hi/xdks/typescript/reference/classes/TrendsClient)

एक नया ट्रेंड्स Client इंस्टेंस बनाता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम      | type                                                     | विवरण                       |
| :------- | :------------------------------------------------------- | :-------------------------- |
| `client` | [`Client`](/hi/xdks/typescript/reference/classes/Client) | मुख्य X API Client इंस्टेंस |

<div id="returns">
  #### रिटर्न
</div>

[`TrendsClient`](/hi/xdks/typescript/reference/classes/TrendsClient)

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[trends/client.ts:90](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/trends/client.ts#L90)

<div id="methods">
  ## मेथड्स
</div>

<div id="getbywoeid">
  ### getByWoeid
</div>

▸ **getByWoeid**(`woeid`, `options`): `Promise`\<`Response`>

WOEID के आधार पर ट्रेंड्स प्राप्त करें
यह किसी विशिष्ट स्थान के लिए, जिसे उसके WOEID से पहचाना जाता है, ट्रेंडिंग विषयों को प्राप्त करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| Name      | type                                                              | Description                                   |
| :-------- | :---------------------------------------------------------------- | :-------------------------------------------- |
| `woeid`   | `number`                                                          | उस स्थान का WOEID, जिसके लिए ट्रेंड देखना है। |
| `options` | `GetByWoeidOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } | -                                             |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

`Promise` जो API रिस्पॉन्स में resolve होता है, या यदि requestOptions.raw true है तो raw Response

#### इसमें परिभाषित

[trends/client.ts:135](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/trends/client.ts#L135)

▸ **getByWoeid**(`woeid`, `options?`): `Promise`\<[`Get2TrendsByWoeidWoeidResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TrendsByWoeidWoeidResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type                |
| :--------- | :------------------ |
| `woeid`    | `number`            |
| `options?` | `GetByWoeidOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`Get2TrendsByWoeidWoeidResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2TrendsByWoeidWoeidResponse)>

#### यहाँ परिभाषित

[trends/client.ts:148](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/trends/client.ts#L148)

***

<div id="getpersonalized">
  ### getPersonalized
</div>

▸ **getPersonalized**(`options`): `Promise`\<`Response`>

वैयक्तिकृत ट्रेंड्स प्राप्त करें
प्रमाणीकृत उपयोगकर्ता के लिए वैयक्तिकृत ट्रेंडिंग विषय प्राप्त करता है।

<div id="parameters">
  #### पैरामीटर
</div>

| नाम       | type                                                                   |
| :-------- | :--------------------------------------------------------------------- |
| `options` | `GetPersonalizedOptions` & \{ `requestOptions`: \{ `raw`: `true`  }  } |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<`Response`>

API रिस्पॉन्स पर resolve होने वाला Promise, या यदि requestOptions.raw true है, तो raw Response

#### इसमें परिभाषित

[trends/client.ts:285](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/trends/client.ts#L285)

▸ **getPersonalized**(`options?`): `Promise`\<[`Get2UsersPersonalizedTrendsResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2UsersPersonalizedTrendsResponse)>

<div id="parameters">
  #### पैरामीटर
</div>

| नाम        | type                     |
| :--------- | :----------------------- |
| `options?` | `GetPersonalizedOptions` |

<div id="returns">
  #### रिटर्न
</div>

`Promise`\<[`Get2UsersPersonalizedTrendsResponse`](/hi/xdks/typescript/reference/interfaces/Schemas.Get2UsersPersonalizedTrendsResponse)>

<div id="defined-in">
  #### यहाँ परिभाषित है
</div>

[trends/client.ts:294](https://github.com/xdevplatform/xdk-typescript/blob/81aacb165e0802e188f608bdf462b60fc4e713a2/src/trends/client.ts#L294)
