This repository contains two packages.
- twitter_openapi_dart Package for human-friendly Dart
- example/flutter_example example app
- twitter_openapi_dart_generated Dart package automatically generated from twitter-openapi by OpenAPI generator
graph LR
A[twitter-openapi]--Auto Generated-->B[twitter_openapi_dart_generated]
B--Simplified handling-->C[twitter_openapi_dart]
Learn more about people-friendly Dart packages here.
twitter_openapi_dart/README.md
Note! twitter-openapi-dart-generated is a package for advanced users who are familiar with Twitter's API. In general, twitter-openapi-dart should be used!
Build
git clone https://github.com/fa0311/twitter_openapi_dart.git
cd twitter_openapi_dart_generated
flutter --version # Flutter 3.7.12
openapi-generator-cli version # 7.1.0
openapi-generator-cli generate -g dart-dio -c tools/openapi-generator-config.yaml
dart pub run build_runner build --delete-conflicting-outputs
Setup
dart pub add twitter_openapi_dart_generated
License
This project is dual licensed. You can choose one of the following licenses:
Usage