/twitter-openapi-typescript

Implementation of Twitter internal API in TypeScript

Primary LanguageTypeScript

twitter-openapi-typescript

Table of Contents

graph LR
  A[twitter-openapi]--Auto Generated-->B[twitter-openapi-typescript-generated]
  B--Simplified handling-->C[twitter-openapi-typescript]

twitter-openapi-typescript

twitter-openapi-typescript/README.md

twitter-openapi-typescript-generated

Note! twitter-openapi-typescript-generated is a package for advanced users who are familiar with Twitter's API. In general, twitter-openapi-typescript should be used!

Build

git clone https://github.com/fa0311/twitter-openapi-typescript.git
cd twitter-openapi-typescript-generated
openapi-generator-cli version # 6.5.0
java -jar tools/openapi-generator-cli.jar generate -g typescript-fetch -c tools/openapi-generator-config.yaml
npm run build

Setup

It cannot be installed from npm.
Plan to release it in v1.0.0 with npm.

git clone https://github.com/fa0311/twitter-openapi-typescript
npm install ./twitter-openapi-typescript/twitter-openapi-typescript

Usage

twitter-openapi-typescript-generated/README.md