Quick Start

You can use the API via RapidAPI here.

cURL

curl --request GET \
  --url https://papi-pornstarsapi.p.rapidapi.com/pornstars/ \
  --header 'x-rapidapi-host: papi-pornstarsapi.p.rapidapi.com' \
  --header 'x-rapidapi-key: <your rapid api key>'

Python

import requests

url = "https://papi-pornstarsapi.p.rapidapi.com/pornstars/"

payload = ""
headers = {
    'x-rapidapi-key': "<your rapid api key>",
    'x-rapidapi-host': "papi-pornstarsapi.p.rapidapi.com"
    }

response = requests.request("GET", url, data=payload, headers=headers)

print(response.text)

Javascript

fetch("https://papi-pornstarsapi.p.rapidapi.com/pornstars/", {
  "method": "GET",
  "headers": {
    "x-rapidapi-key": "<your rapid api key>",
    "x-rapidapi-host": "papi-pornstarsapi.p.rapidapi.com"
  }
})
.then(response => {
  console.log(response);
})
.catch(err => {
  console.error(err);
});

PHP

<?php

$client = new http\Client;
$request = new http\Client\Request;

$request->setRequestUrl('https://papi-pornstarsapi.p.rapidapi.com/pornstars/');
$request->setRequestMethod('GET');
$request->setHeaders([
  'x-rapidapi-key' => '<your rapid api key>',
  'x-rapidapi-host' => 'papi-pornstarsapi.p.rapidapi.com'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();