> ## 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>;
};

공식 SDK, 커뮤니티 라이브러리 및 개발자 도구로 개발을 더 빠르게 진행하세요.

***

<div id="official-sdks">
  ## 공식 SDK
</div>

X는 X API v2를 완전 지원하는 TypeScript 및 Python용 공식 SDK를 제공합니다:

<CardGroup cols={2}>
  <Card title="Python SDK" icon="python" href="/ko/xdks/python/overview">
    비동기 처리 지원, 타입 힌트, 자동 토큰 갱신 기능을 제공합니다. 데이터 분석 및 자동화에 최적입니다.
  </Card>

  <Card title="TypeScript SDK" icon="js" href="/ko/xdks/typescript/overview">
    완전한 타입 안정성과 ESM을 지원합니다. Node.js 및 최신 번들러에서 동작합니다.
  </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">
    | Library                                                      | 설명                          |
    | :----------------------------------------------------------- | :-------------------------- |
    | [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">
    | Library                                                              | 설명                                    |
    | :------------------------------------------------------------------- | :------------------------------------ |
    | [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">
    | Library                                                         | 설명               |
    | :-------------------------------------------------------------- | :--------------- |
    | [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">
    | Library                                               | 설명                   |
    | :---------------------------------------------------- | :------------------- |
    | [twittered](https://github.com/redouane59/twittered)  | v2용 Java 클라이언트       |
    | [twitter4j-v2](https://github.com/takke/twitter4j-v2) | Twitter4J v2 래퍼      |
    | [KTweet](https://github.com/ChromasIV/KTweet)         | v2용 Kotlin 라이브러리     |
    | [Tweedle](https://github.com/tyczj/Tweedle)           | Kotlin Android 라이브러리 |
  </Tab>

  <Tab title="PHP">
    | Library                                                           | 설명                  |
    | :---------------------------------------------------------------- | :------------------ |
    | [twitter-api-v2-php](https://github.com/noweh/twitter-api-v2-php) | v2용 PHP 클라이언트       |
    | [bird-elephant](https://github.com/danieldevine/bird-elephant)    | v2용 PHP 라이브러리       |
    | [twitteroauth](https://github.com/abraham/twitteroauth)           | 널리 사용되는 OAuth 라이브러리 |
  </Tab>

  <Tab title="Ruby">
    | Library                                                           | 설명              |
    | :---------------------------------------------------------------- | :-------------- |
    | [tweetkit](https://github.com/julianfssen/tweetkit)               | v2용 Ruby 클라이언트  |
    | [twitter\_oauth2](https://github.com/nov/twitter_oauth2)          | OAuth 2.0 라이브러리 |
    | [omniauth-twitter2](https://github.com/unasuke/omniauth-twitter2) | OmniAuth 전략     |
  </Tab>

  <Tab title="Other">
    | Language       | Library                                                                                                    |
    | :------------- | :--------------------------------------------------------------------------------------------------------- |
    | **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 포럼](https://devcommunity.x.com/c/libraries-and-sdks/63)에 게시글 올리기
2. 이 페이지에 추가해 드릴 수도 있습니다!

README에서 [버전 배지](https://twbadges.glitch.me/)를 사용해 API 호환성을 표시해 주세요.

***

<div id="getting-help">
  ## 도움 받기
</div>

<Card title="Developer Forum" icon="comments" href="https://devcommunity.x.com">
  커뮤니티에서 도움을 받아보세요.
</Card>
