/PHub_Api_With_Express

PHub Api With Express

Primary LanguageJavaScriptOtherNOASSERTION

Porn Hub Api With Express

🏗️ Example 🏗️

var axios = require('axios');
var qs = require('qs');
var data = qs.stringify({
   
});
var config = {
  method: 'post',
  url: 'http://localhost/api/get/pornstars',
  headers: { 
    'Accept': 'application/json', 
    'Content-Type': 'application/json'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

⚓ End Points ⚓

  POST /api/get/pornstars

  POST /api/get/tags

  POST /api/get/categories

  POST /api/video/embed/${id}
Parameter Type Description
id string Required. Id of item to fetch

  POST /api/video/detail/${id}
Parameter Type Description
id string Required. Id of item to fetch

  POST /api/video/album/${keyword}
Parameter Type Description
keyword string Required. Name of item to fetch
  • Form Data
Parameter Type Description
page number Page of item to fetch
Parameter Types
type data, paging, counting

  POST /api/video/gif/${keyword}
Parameter Type Description
keyword string Required. Name of item to fetch
  • Form Data
Parameter Type Description
page number Page of item to fetch
Parameter Types
type data, paging, counting

  POST /api/video/pornstar/${keyword}
Parameter Type Description
keyword string Required. Name of item to fetch
  • Form Data
Parameter Type Description
page number Page of item to fetch
Parameter Types
type data, paging, counting

  POST /api/video/model/${keyword}
Parameter Type Description
keyword string Required. Name of item to fetch
  • Form Data
Parameter Types
sexualOrientation straight, gay, transgender

  POST /api/video/${keyword}
Parameter Type Description
keyword string Required. Name of item to fetch
  • Form Data
Parameter Types
hd true, false
premium true, false
freePremium true, false
production all, professional, homemade
type data, paging, counting

🛠️ Installation 🛠️

  • Download and install NodeJs on your computer.
  • Download the project as Zip to your computer and unzip it.
  • Enter the folder you extracted from the zip and open a terminal to the location of that folder, then enter the following commands. npm install
  • Start the bot by entering the following command in Terminal node .

⛳Tech Stack ⛳

🗄️Server: Node, PornHub.Js, Express, body-parser


🎯 License 🎯