https://github.com/farhaanaliii/instaapi
InstaAPI is a simple Python Wrapper for interacting with the Instagram Downloader API via RapidAPI.
https://github.com/farhaanaliii/instaapi
insta-api instagram-client instagram-downloader instagram-feed instagram-metadata instagram-photos instagram-scraper instagram-stories instagram-user-photos osint osint-python pictures videos
Last synced: about 2 months ago
JSON representation
InstaAPI is a simple Python Wrapper for interacting with the Instagram Downloader API via RapidAPI.
- Host: GitHub
- URL: https://github.com/farhaanaliii/instaapi
- Owner: farhaanaliii
- Created: 2024-12-02T06:36:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-02T06:46:04.000Z (6 months ago)
- Last Synced: 2025-02-09T21:16:22.157Z (4 months ago)
- Topics: insta-api, instagram-client, instagram-downloader, instagram-feed, instagram-metadata, instagram-photos, instagram-scraper, instagram-stories, instagram-user-photos, osint, osint-python, pictures, videos
- Language: Python
- Homepage: https://rapidapi.com/officialofun-C-wpfpix418/api/test-api646
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# InstaAPI
InstaAPI is a simple Python Wrapper for interacting with the Instagram Downloader API via RapidAPI. This Wrapper allows you to easily fetch download links and thumbnails for Instagram posts.
> [!WARNING]
> We are not affiliated with Instagram in any way. Use this tool responsibly and adhere to Instagram’s Terms of Service. This tool is meant to work with publicly available Instagram content.## Features
- Fetch Instagram post download links and thumbnails.
- Securely store and use your RapidAPI key.## Prerequisites
Before you start, you'll need:
1. A **RapidAPI** account: If you don’t have one, you can create it at [RapidAPI](https://rapidapi.com/).
2. The **Instagram Downloader API** key: You can subscribe to it [here](https://rapidapi.com/officialofun-C-wpfpix418/api/test-api646).## Installation
1. Clone the repository:
```bash
git clone https://github.com/farhaanaliii/InstaAPI.git
```2. Navigate to the project folder:
```bash
cd InstaAPI
```3. Install required Python packages:
```bash
pip install requests
```## Setup
1. **Store your RapidAPI key securely**:
- Open the `config.py` file in the project.
- Replace `"your_rapidapi_key_here"` with your actual RapidAPI key.```python
RAPIDAPI_KEY = "your_rapidapi_key_here" # Replace with your actual API key
```2. **Running the Test**:
After setting up the API key in `config.py`, run the `main.py` script:```bash
python main.py
```This will fetch the Instagram post's thumbnail and download link and display them in the terminal.
## Example Usage
In `main.py`, you can change the `post_url` to any Instagram post URL you want to fetch data from. Here's the default example:
```python
post_url = "https://www.instagram.com/coding.np/p/DCyqv53Sa8R/"
```The script will fetch and display the thumbnail and download link.
## Contributing
Feel free to fork this repository and contribute by submitting issues and pull requests.
## Author
- **Farhan Ali**
- GitHub: [@farhaanaliii](https://github.com/farhaanaliii)## License
This project is open source and available under the [MIT License](LICENSE).