https://github.com/fa0311/twitter_openapi_python
Implementation of Twitter internal API (Twitter graphql API) in Python with data validation by pydantic
https://github.com/fa0311/twitter_openapi_python
graphql openapi pydantic python scraper twitter twitter-bot undocumented unofficial
Last synced: about 1 month ago
JSON representation
Implementation of Twitter internal API (Twitter graphql API) in Python with data validation by pydantic
- Host: GitHub
- URL: https://github.com/fa0311/twitter_openapi_python
- Owner: fa0311
- License: other
- Created: 2023-07-24T19:27:53.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T18:17:58.000Z (about 2 months ago)
- Last Synced: 2025-03-28T20:12:54.247Z (about 1 month ago)
- Topics: graphql, openapi, pydantic, python, scraper, twitter, twitter-bot, undocumented, unofficial
- Language: Python
- Homepage: https://pypi.org/project/twitter-openapi-python/
- Size: 1.67 MB
- Stars: 64
- Watchers: 4
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README-generated.md
- License: LICENSE
Awesome Lists containing this project
README
# twitter_openapi_python_generated
> Note! twitter-openapi-python-generated is a package for advanced users who are familiar with Twitter's API. In general, [twitter_openapi_python](twitter_openapi_python/README.md) should be used!
Build
```shell
git clone https://github.com/fa0311/twitter_openapi_python.git
cd twitter_openapi_python_generated
``````shell
python -V # Python 3.10.8
openapi-generator-cli version # 7.8.0 beta
``````shell
openapi-generator-cli generate -g python -c tools/openapi-generator-config.yaml
```Setup
```shell
pip install twitter-openapi-python-generated
```Usage
[twitter_openapi_python_generated/README.md](./twitter_openapi_python_generated/README.md)