Giter Club home page Giter Club logo

hoichoi-api's Introduction


Hoichoi API

Unofficial Hoichoi API


Features :

  • This Repository is totally free
  • Unlimited API calls
  • Generate Unlimited Download & Streaming Link

Api Endpoint:

You need exact movie or webseries's episode url

Request

http://[Your-App-Url]/?url=[Hoichoi-Url]

Ex.

https://localhost:8080/?url=https://www.hoichoi.tv/movies/dugga-2020

Response

{
  "status": true,
  "title": "Dugga",
  "description": "Goddess Durga defeated the demons, but can Dugga - our protagonist, overpower the demons within her mind? Watch the full movie on Hoichoi.\n",
  "category": "Drama",
  "image": "https://snagfilms-a.akamaihd.net/7fa0ea9a-9799-4417-99f5-cbb5343c551d/images/2020/11/5/1604598395769_1280x720_16x9Images.jpg",
  "download": [
    {
      "codec": "H264",
      "renditionValue": "_270p",
      "url": "https://hoichoimp4ns.akamaized.net/vhoichoiindia2/Renditions/20201105/1604595730352_dugga_hoichoi/1604595730352_dugga_hoichoi_270.mp4?__token__=exp=1604941961~acl=/vhoichoiindia2/Renditions/20201105/1604595730352_dugga_hoichoi/*~hmac=96c34561ed16177c914d203e4053a542052e25c2a561bc0a3e1cfa5dbfe5c61f"
    },
    {
      "codec": "H264",
      "renditionValue": "_360p",
      "url": "https://hoichoimp4ns.akamaized.net/vhoichoiindia2/Renditions/20201105/1604595730352_dugga_hoichoi/1604595730352_dugga_hoichoi_360.mp4?__token__=exp=1604941961~acl=/vhoichoiindia2/Renditions/20201105/1604595730352_dugga_hoichoi/*~hmac=96c34561ed16177c914d203e4053a542052e25c2a561bc0a3e1cfa5dbfe5c61f"
    },
    {
      "codec": "H264",
      "renditionValue": "_720p",
      "url": "https://hoichoimp4ns.akamaized.net/vhoichoiindia2/Renditions/20201105/1604595730352_dugga_hoichoi/1604595730352_dugga_hoichoi_720.mp4?__token__=exp=1604941961~acl=/vhoichoiindia2/Renditions/20201105/1604595730352_dugga_hoichoi/*~hmac=96c34561ed16177c914d203e4053a542052e25c2a561bc0a3e1cfa5dbfe5c61f"
    }
  ],
  "hls": "https://hoichoihlsns.akamaized.net/vhoichoiindia2/Renditions/20201105/1604595730352_dugga_hoichoi/hls/1604595730352_dugga_hoichoi.m3u8?hdnts=exp=1604941961~acl=/vhoichoiindia2/Renditions/20201105/1604595730352_dugga_hoichoi/hls/*~hmac=44fffc9626049487978953544c62393ee88ade0bc745c06810507b1b969788a2"
}

Deploy :

Deployment is very simple, But you cannot deploy it on Heroku. Because if IP will changed it will recognized as a New Device. For that Device limit will reached and you will get error

Requirements :

  • A VPS (Minimum Specification, Fixed IP)
  • A Hoichoi Account, Make sure no user will stream with this account.

Start :

  • Clone this Repository
git clone https://github.com/viewlift-ripper/hoichoi-api.git
  • Go to the Cloned Directory
cd hoichoi-api
  • Open settings.js , enter your Hoichoi Credentials & save it
nano settings.js

crtl + o & enter to save
  • Install Dependencies
npm install
  • Start the Application
npm start
  • Using Forever JS
npm install forever -g 
forever start main.js

That's It, Now make some useful stuff from it.

Exception Handling :

You will get Error in these cases ๐Ÿ‘‡

  1. If entered Invalid Url
  2. If the email password are not working
  3. If the content is DRM Protected
  4. If Maximum Stream Limit reached (Because someone is watching content on Official Hoichoi Website or App)
  5. If Maximum device Limit Reached
  6. If Something unexpected will happened

You will get "status": false with a Error Message in these cases

hoichoi-api's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.