Fetch Flipkart product details including name, price, MRP and Stock details in general as well as specific to a pincode

Overview

Flipkart Pincode Specific Product Stock

API to scrapes product details and pincode specific stock from Flipkart.

The Flipkart Scrapper API could give the stock avalibility of a product in general and not in any specific reigion. This project is created to fill the gap in hole of specificity of product avalibility.

You can also deploy the API yourself on Heroku

Deploy

(API will be disabled at night, host your own to get access of API at those hour) : See Important Note


Features

You can fetch following product details from Flipkart :

  • Product Name

  • Current Price

  • Original Price / MRP

  • Discount offered

  • Shareable URL (without uncessary arguments)

  • Flipkart Assured or not (f-assured status)

  • Stock details

  • General Stock detail (without entering pincode)

  • Specific Stock detail (specific to given pincode)


Usage

  1. Using API

    API requires two arguments :

    • Flipkart Product URL

    • Pincode (defaults to 110051)

    Syntax URL : https://flipkart-product-stock.herokuapp.com/product?link={product_link}&pincode={pincode}

  2. Using Terminal Script

    One can also use the terminal-script.py provided in the root folder

    1. Clone the repository to your system.

    2. Install the python modules (one-time measure):

      pip install -r requirements.txt

    3. Run the script in the root directory :

      python terminal-script.py

    4. You will be asked for the product link and then the pincode of your location and will be reverted back with product and stock details


Important Note

As the API is hosted on Heroku's free limited dyno, the API hosted by developer will be unavalible during night ( 02:00 AM to 10:00 AM IST ). If you want to use the API at those hours, kindly host your own.


Sample

The API is easy to use and understand, but in case of any problem do check out the sample API usage and it's response.

Check out an example
{
  "name": "42 Years Chapterwise Topicwise Solved Papers (2020-1979) Iit Jee Chemistry  (English, Paperback, Shahi Ranjeet)",
  "current_price": "236",
  "original_price": "430",
  "discount": "45% off",
  "share_url": "https://dl.flipkart.com/s/WaqrsvNNNN",
  "fassured": true,
  "stock_details": {
    "general_stock": true,
    "pincode": "712702",
    "pincode_stock": false
  }
}

ToDo

  • Make an API usage guide
  • Add deploy to Heroku button
  • Add support for more products
This is a Anti Channel Ban Robots

AntiChannelBan This is a Anti Channel Ban Robots delete and ban message sent by channels Heroku Deployment 💜 Heroku is the best way to host ur Projec

BᵣₐyDₑₙ 25 Dec 10, 2021
A simple API wrapper for Discord written in Python.

AIOCord This project is work in progress not for production use A simple asynchronous API wrapper around Discord API written in Python. Inspiration Th

Izhar Ahmad 3 Dec 07, 2021
Catware - A powerful grabber with a built in bot control system

catware A powerful grabber with a built in bot control system PLEASE NOTE THAT I

4 Feb 04, 2022
Plazmix API wrapper for Python

An optimised, easy to use Plazmix API wrapper written in Python

Someone 2 Nov 16, 2021
Wechat based auto reply with pyautogui

Python-微信 自动回复 练手~ 一直想做个给微信发个消息,就可以跑Python程序,并将结果发送给我的东西,之前看了 B站@不高兴就喝水 的视频,终于有了灵感~ 使用的是模拟点击方案,请求期间是不能操作了。 库 pyautogui 用于模拟鼠标键盘操作和定位操作位置 pyperclip 剪贴板

Vito Song 1 Oct 22, 2022
Opasium AI was specifically designed for the Opasium Games discord only. It is a bot that covers the basic functions of any other bot.

OpasiumAI Opasium AI was specifically designed for the Opasium Games discord only. It is a bot that covers the basic functions of any other bot. Insta

Dan 3 Oct 15, 2021
Add members to unlimited telegram channels and groups

Program Features 📌 Coded with Python version 10. 📌 without the need for a proxy. 📌 without the need for a Telegram ID. 📌 Ability to add infinite p

hack4lx 10 Nov 25, 2022
A minimal open source mtg-like tcg game made in python that can be played on a terminal emulator using a keyboard.

TCG-TERM Project state: 🔧 🚧 🚧 🚧 Incomplete, In development 🚧 🚧 🚧 👷 (Keep in mind that at the moment, This project is currently undone, and wil

Amos 3 Aug 29, 2021
Minimal telegram voice chat music bot, in pyrogram.

VCBOT Fully working VC (user)Bot, based on py-tgcalls and py-tgcalls-wrapper with minimal features. Deploying To heroku: Local machine/VPS: git clone

Aditya 33 Nov 12, 2022
Anti Spam/NSFW Telegram Bot Written In Python With Pyrogram.

✨ SpamProtectionRobot ✨ Anti Spam/NSFW Telegram Bot Written In Python With Pyrogram. Requirements Python = 3.7 Install Locally Or On A VPS $ git clon

Akshay Rajput 46 Dec 13, 2022
Python: Asynchronous client for the Open-Meteo API.

Python: Asynchronous client for the Open-Meteo API. Asynchronous client for the Open-Meteo API. About Open-Meteo offers free weather forecast APIs for

Franck Nijhof 11 Dec 21, 2022
This is a simple Telegram bot to Delete User Messages based on Groupmembers Votes. Heroku deployable

ibCleaner Bot This is a simple Telegram bot to Delete User Messages based on Groupmembers Votes. Deploy to Heroku Deploy locally Edit config.py and ad

8 Oct 21, 2022
This is a discord token generator(requests) which works and makes 200 tokens per minute

Discord Email verified token generator Creates email verified discord accounts (unlocked) Report Bug · Discord server Features Profile pictures and na

131 Dec 10, 2022
Community-based extensions for the python-telegram-bot library.

Community-based extensions for the python-telegram-bot library. Table of contents Introduction Installing Getting help Contributing License Introducti

74 Dec 24, 2022
A minimalistic library designed to provide native access to YNAB data from Python

pYNAB A minimalistic library designed to provide native access to YNAB data from Python. Install The simplest way is to install the latest version fro

Ivan Smirnov 92 Apr 06, 2022
Reddit comment bot emulating Telugu actor N. Bala Krishna.

Balayya-Bot Reddit comment bot emulating Telugu actor N. Bala Krishna. Project structure config.py contains Bot's higher level configuration. generate

Kari Lorince 2 Nov 05, 2021
Gathers data and displays metrics related to climate change and resource depletion on a PowerBI report.

Apocalypse Status Dashboard Purpose Climate change and resource depletion are grave long-term dangers. The code in this repository will pull data from

Summer Is Here 1 Nov 12, 2021
a discord bot coded in Python which shows news based on the term searched by the user

Noah Miller v1.0 a discord bot coded in Python which shows news based on the term searched by the user Add the bot to your server About This is a disc

klevr 3 Nov 08, 2021
Binance leverage futures Hook

Simple binance futures Attention Just use leverage. The fee difference between futures and spot is not considered. For example, funding rate, etc. Onl

Adriance 26 Aug 27, 2022
Simple spam bot made in python

Simple Spam Bot A Simple and easy way to be the most hated person between your friends, All you have to do is spam the group chat using this bot until

Kareem Osama 6 Sep 05, 2022