https://github.com/fastuptime/phub_api_with_express
PHub Api With Express
https://github.com/fastuptime/phub_api_with_express
express-pornhub phub pornhub pornhub-api pornhubapi
Last synced: 9 months ago
JSON representation
PHub Api With Express
- Host: GitHub
- URL: https://github.com/fastuptime/phub_api_with_express
- Owner: fastuptime
- License: other
- Created: 2023-01-08T18:31:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-19T20:57:57.000Z (over 2 years ago)
- Last Synced: 2025-04-23T20:17:11.681Z (9 months ago)
- Topics: express-pornhub, phub, pornhub, pornhub-api, pornhubapi
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Porn Hub Api With Express
## ποΈ Example ποΈ
```javascript
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 β
```http
POST /api/get/pornstars
```
##
```http
POST /api/get/tags
```
##
```http
POST /api/get/categories
```
##
```http
POST /api/video/embed/${id}
```
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `id` | `string` | **Required**. Id of item to fetch |
##
```http
POST /api/video/detail/${id}
```
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `id` | `string` | **Required**. Id of item to fetch |
##
```http
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` |
##
```http
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` |
##
```http
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` |
##
```http
POST /api/video/model/${keyword}
```
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| `keyword` | `string` | **Required**. Name of item to fetch |
- Form Data
| Parameter | Types |
| :-------- | :------- |
| `sexualOrientation` | `straight`, `gay`, `transgender` |
##
```http
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](https://nodejs.org/en/download) 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
---
- β¨ [For Support](https://github.com/sponsors/fastuptime)
- π [Discord](https://fastuptime.com/discord)
- π [Fast Uptime](https://fastuptime.com/)
- πͺ All kinds of projects are made
- 𧨠You can contact us to make a paid project
- βοΈ [Click For Contact](mailto:fastuptime@gmail.com)
# π― License π―
- βοΈ Its protected by Creative Commons ([CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/))
