Coder Social home page Coder Social logo

phub_api_with_express's Introduction

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 ๐ŸŽฏ

phub_api_with_express's People

Contributors

fastuptime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.