Terigrapi
Asynchronous Python library for Instagram Private API
Install / Use
/learn @Teri-anric/TerigrapiREADME

terigrapi - Asynchronous Instagram API for Python
terigrapi is an asynchronous Python client for the Instagram API, heavily inspired by the original aiograpi library. While aiograpi served as the foundation, terigrapi improves upon it by restructuring all methods using classes, enhancing type definitions to ensure complete and accurate results, and setting the stage for a more robust and maintainable codebase.
Note: This project is still under development. Currently, only parts of the login functionality and a section related to Direct messaging have been completed.
Installation
To install terigrapi, clone the repository and run:
pip install .
Basic Usage
from terigrapi import Client
cl = Client()
await cl.login(ACCOUNT_USERNAME, ACCOUNT_PASSWORD)
direct = await cl.direct_threads()
Checkpoints
Completed:
- Refactored structure to use class-based methods.
- Enhanced type definitions to provide full, untruncated results.
- Implemented login functionality (partial).
- Developed a section for Direct messaging (partial).
To-Do:
- Complete the remaining login functionality.
- Extend Direct messaging capabilities.
- Implement media upload/download features.
- Add support for handling user data (followers, following, etc.).
- Develop insights and analytics functionalities.
- Add challenge resolver (e.g., Email and SMS handlers).
- Thoroughly test and refine the existing codebase.
Contributing
Contributions are welcome! Please submit issues and pull requests via the GitHub repository.
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
