ilhamdev commited on
Commit
c086c13
·
verified ·
1 Parent(s): 6f58f04

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +6 -6
index.js CHANGED
@@ -235,36 +235,36 @@ const app = express()
235
  .all('/', (req, res) => {
236
  const host = 'https://' + req.get('host');
237
  res.json({
238
- "apiList": [
239
  {
240
  "title": "Tiktok Downloader",
241
- "endpoint": "/tt",
242
  "method": "GET",
243
  "example": `${host}/tt?url=`,
244
  },
245
  {
246
  "title": "Facebook Downloader",
247
- "endpoint": "/fb",
248
  "method": "GET",
249
  "example": `${host}/fb?url=`,
250
  },
251
  {
252
  "title": "Instagram Downloader",
253
- "endpoint": "/ig",
254
  "method": "GET",
255
  "example": `${host}/ig?url=`,
256
  },
257
  {
258
  "title": "Youtube Downloader",
259
- "endpoint": "/ytdl",
260
  "method": "GET",
261
  "example": `${host}/ytdl?url=`,
262
  },
263
  {
264
  "title": "Youtube Search",
265
- "endpoint": "/ytsearch",
266
  "method": "GET",
267
  "example": `${host}/ytsearch?q=`,
 
 
 
 
 
268
  }
269
  ]
270
  })})
 
235
  .all('/', (req, res) => {
236
  const host = 'https://' + req.get('host');
237
  res.json({
238
+ "List": [
239
  {
240
  "title": "Tiktok Downloader",
 
241
  "method": "GET",
242
  "example": `${host}/tt?url=`,
243
  },
244
  {
245
  "title": "Facebook Downloader",
 
246
  "method": "GET",
247
  "example": `${host}/fb?url=`,
248
  },
249
  {
250
  "title": "Instagram Downloader",
 
251
  "method": "GET",
252
  "example": `${host}/ig?url=`,
253
  },
254
  {
255
  "title": "Youtube Downloader",
 
256
  "method": "GET",
257
  "example": `${host}/ytdl?url=`,
258
  },
259
  {
260
  "title": "Youtube Search",
 
261
  "method": "GET",
262
  "example": `${host}/ytsearch?q=`,
263
+ },
264
+ {
265
+ "title": "Pinterest Downloader",
266
+ "method": "GET",
267
+ "example": `${host}/pindl?url=`,
268
  }
269
  ]
270
  })})