> ## 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.

# टूल्स और लाइब्रेरी

> X API के लिए आधिकारिक और सामुदायिक लाइब्रेरी

export const Button = ({href, children}) => {
  return <div className="not-prose group">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-full group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

आधिकारिक SDKs, सामुदायिक लाइब्रेरी और डेवलपर टूल्स की मदद से अपना डेवलपमेंट तेज़ करें।

***

<div id="official-sdks">
  ## आधिकारिक SDKs
</div>

X, TypeScript और Python के लिए X API v2 के पूर्ण समर्थन वाले आधिकारिक SDKs प्रदान करता है:

<CardGroup cols={2}>
  <Card title="Python SDK" icon="python" href="/hi/xdks/python/overview">
    Async समर्थन, type hints, और स्वचालित token refresh। डेटा विश्लेषण और ऑटोमेशन के लिए उपयुक्त।
  </Card>

  <Card title="TypeScript SDK" icon="js" href="/hi/xdks/typescript/overview">
    पूर्ण type safety और ESM समर्थन। Node.js और आधुनिक bundlers में काम करता है।
  </Card>
</CardGroup>

***

<div id="official-tools">
  ## आधिकारिक टूल
</div>

| टूल                                                                                                          | विवरण                                                        |
| :----------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------- |
| [Postman Collection](https://app.getpostman.com/run-collection/9956214-784efcda-ed4c-4491-a4c0-a26470a67400) | सभी v2 एंडपॉइंट्स के लिए इंटरैक्टिव API परीक्षण              |
| [OpenAPI Spec](https://api.x.com/2/openapi.json)                                                             | मशीन-पठनीय API विनिर्देश                                     |
| [twitter-text](https://github.com/twitter/twitter-text)                                                      | पोस्ट टेक्स्ट को पार्स और मान्य करें, वर्णों की संख्या गिनें |

***

<div id="community-libraries">
  ## सामुदायिक लाइब्रेरी
</div>

ये समुदाय द्वारा अनुरक्षित लाइब्रेरी X API v2 का समर्थन करती हैं। वर्तमान API कवरेज के लिए हर लाइब्रेरी का दस्तावेज़ देखें।

<Tabs>
  <Tab title="Python">
    | लाइब्रेरी                                                    | विवरण                                      |
    | :----------------------------------------------------------- | :----------------------------------------- |
    | [tweepy](https://github.com/tweepy/tweepy)                   | v2 समर्थन के साथ लोकप्रिय Python लाइब्रेरी |
    | [twarc](https://twarc-project.readthedocs.io/)               | डेटा संग्रह के लिए CLI और लाइब्रेरी        |
    | [python-twitter](https://github.com/sns-sdks/python-twitter) | सरल Python रैपर                            |
    | [TwitterAPI](https://github.com/geduldig/TwitterAPI)         | न्यूनतम Python रैपर                        |
  </Tab>

  <Tab title="JavaScript/TypeScript">
    | लाइब्रेरी                                                            | विवरण                                           |
    | :------------------------------------------------------------------- | :---------------------------------------------- |
    | [node-twitter-api-v2](https://github.com/PLhery/node-twitter-api-v2) | मज़बूत टाइपिंग वाला, पूर्ण-फीचर Node.js क्लाइंट |
    | [twitter.js](https://github.com/twitterjs/twitter.js)                | ऑब्जेक्ट-ओरिएंटेड Node.js लाइब्रेरी             |
    | [twitter-v2](https://github.com/HunterLarco/twitter-v2)              | असिंक्रोनस क्लाइंट लाइब्रेरी                    |
  </Tab>

  <Tab title="Go">
    | लाइब्रेरी                                                       | विवरण                              |
    | :-------------------------------------------------------------- | :--------------------------------- |
    | [go-twitter](https://github.com/g8rswimmer/go-twitter)          | v2 API के लिए Go लाइब्रेरी         |
    | [gotwi](https://github.com/michimani/gotwi)                     | v2 के लिए Go रैपर                  |
    | [twitter-stream](https://github.com/Fallenstedt/twitter-stream) | फ़िल्टर किए गए स्ट्रीम के लिए रैपर |
  </Tab>

  <Tab title="Java/Kotlin">
    | लाइब्रेरी                                             | विवरण                    |
    | :---------------------------------------------------- | :----------------------- |
    | [twittered](https://github.com/redouane59/twittered)  | v2 के लिए Java क्लाइंट   |
    | [twitter4j-v2](https://github.com/takke/twitter4j-v2) | Twitter4J v2 रैपर        |
    | [KTweet](https://github.com/ChromasIV/KTweet)         | Kotlin v2 लाइब्रेरी      |
    | [Tweedle](https://github.com/tyczj/Tweedle)           | Kotlin Android लाइब्रेरी |
  </Tab>

  <Tab title="PHP">
    | लाइब्रेरी                                                         | विवरण                    |
    | :---------------------------------------------------------------- | :----------------------- |
    | [twitter-api-v2-php](https://github.com/noweh/twitter-api-v2-php) | PHP v2 क्लाइंट           |
    | [bird-elephant](https://github.com/danieldevine/bird-elephant)    | PHP v2 लाइब्रेरी         |
    | [twitteroauth](https://github.com/abraham/twitteroauth)           | लोकप्रिय OAuth लाइब्रेरी |
  </Tab>

  <Tab title="Ruby">
    | लाइब्रेरी                                                         | विवरण               |
    | :---------------------------------------------------------------- | :------------------ |
    | [tweetkit](https://github.com/julianfssen/tweetkit)               | Ruby v2 क्लाइंट     |
    | [twitter\_oauth2](https://github.com/nov/twitter_oauth2)          | OAuth 2.0 लाइब्रेरी |
    | [omniauth-twitter2](https://github.com/unasuke/omniauth-twitter2) | OmniAuth स्ट्रैटेजी |
  </Tab>

  <Tab title="Other">
    | भाषा           | लाइब्रेरी                                                                                                  |
    | :------------- | :--------------------------------------------------------------------------------------------------------- |
    | **C#/.NET**    | [Tweetinvi](https://github.com/linvi/tweetinvi), [LinqToTwitter](https://github.com/JoeMayo/LinqToTwitter) |
    | **Rust**       | [twitter-v2](https://github.com/jpopesculian/twitter-v2-rs)                                                |
    | **Swift**      | [Twift](https://github.com/daneden/Twift/), [TwitterAPIKit](https://github.com/mironal/TwitterAPIKit)      |
    | **R**          | [academictwitteR](https://github.com/cjbarrie/academictwitteR)                                             |
    | **PowerShell** | [BluebirdPS](https://github.com/thedavecarroll/BluebirdPS)                                                 |
  </Tab>
</Tabs>

<Note>
  सामुदायिक लाइब्रेरी का रखरखाव X द्वारा नहीं किया जाता। समर्थन और वर्तमान स्थिति के लिए उनकी रिपॉज़िटरी देखें।
</Note>

***

<div id="code-samples">
  ## कोड उदाहरण
</div>

GitHub पर उदाहरण देखें:

* [X API v2 Sample Code](https://github.com/xdevplatform/Twitter-API-v2-sample-code) — Python, JavaScript, Ruby और अन्य भाषाओं में उदाहरण
* [X Developer GitHub](https://github.com/xdevplatform) — आधिकारिक रिपॉज़िटरी और टूल
* [Glitch Examples](https://glitch.com/@twitter) — इंटरैक्टिव, रीमिक्स किए जा सकने वाले ऐप्स
* [Replit Examples](https://replit.com/@twitter) — ब्राउज़र-आधारित कोडिंग

***

<div id="building-a-library">
  ## लाइब्रेरी बना रहे हैं?
</div>

अगर आपने X API लाइब्रेरी बनाई है, तो उसे समुदाय के साथ साझा करें:

1. [Libraries & SDKs forum](https://devcommunity.x.com/c/libraries-and-sdks/63) में पोस्ट करें
2. हम इसे इस पेज पर जोड़ सकते हैं!

API संगतता दिखाने के लिए अपने README में हमारे [version badges](https://twbadges.glitch.me/) का इस्तेमाल करें।

***

<div id="getting-help">
  ## सहायता पाना
</div>

<Card title="डेवलपर फ़ोरम" icon="comments" href="https://devcommunity.x.com">
  समुदाय से मदद पाएँ।
</Card>
