Get DirectCam Categories

method: getDirectCamCategories

This API operation returns a nested list of DirectCam webcam categories and their associated CategoryID. You can specify which category groupings to hide.

URL / Endpoint

GET /v1/lists/getDirectCamCategories

Request

PropertyTypeDescription
HideCouples boolean If set to true, the "Couples" DirectCam grouping will be excluded. Default is false.
HideFetish boolean If set to true, the "Fetish" DirectCam grouping will be excluded. Default is false.
HideSolos boolean If set to true, the "Solos" DirectCam grouping will be excluded. Default is false.
HideTransgender boolean If set to true, the "Transgender" DirectCam grouping will be excluded. Default is false.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP POST method with serialized JSON in the request body, or the HTTP GET method by passing parameters over the query string of the URI.

Headers

The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.

Authentication

Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.

Samples

GET method

https://api-sandbox.adultwork.com/v1/lists/getDirectCamCategories
  ?apiKey={your-api-key}
  &HideTransgender=true

Response

PropertyTypeDescription
Categories Array of aws:DirectCamCategory List of DirectCam webcam categories.

Note: Performers will never be in any of the four main parent categories alone and will always be part of one of thier respective child categories.

Response Sample

The following example returns a shortened list of DirectCam categories with HideTransgender and HideFetish criteria supplied in the request.

[
    {
        "CategoryID":-3,
        "CategoryName":"Solos",
        "HasChildren":true,
        "ChildCategories":[
            {
                "CategoryID":1,
                "CategoryName":"Teasing Teens",
"PerformerCount": 120, "PerformerCountIPhone": 80, "PerformerCountIPad": 70, "PerformerCountAndroid": 90 }, { "CategoryID":2, "CategoryName":"Tasty Twenties", "PerformerCount": 120,
"PerformerCountIPhone": 80,
"PerformerCountAndroid": 90 }, { "CategoryID":3, "CategoryName":"Dirty Thirties",
"PerformerCount": 120, "PerformerCountIPhone": 80,
"PerformerCountIPad": 70, "PerformerCountAndroid": 90 } ] }, { "CategoryID":-1, "CategoryName":"Couples & Groups", "HasChildren":true, "ChildCategories":[ { "CategoryID":7, "CategoryName":"Husbands & Wives", "PerformerCount": 120,
"PerformerCountIPhone": 80,
"PerformerCountIPad": 70,
"PerformerCountAndroid": 90 }, { "CategoryID":8, "CategoryName":"Lesbian Couples", "PerformerCount": 120,
"PerformerCountIPhone": 80,
"PerformerCountIPad": 70,
"PerformerCountAndroid": 90 } ] } ]
<?xml version="1.0" encoding="UTF-8"?>
<ArrayOfDirectCamCategory xmlns="http://schemas.datacontract.org/2004/07/API.Models" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
   <DirectCamCategory>
      <CategoryID>-3</CategoryID>
      <CategoryName>Solos</CategoryName>
      <ChildCategories>
         <DirectCamCategory>
            <CategoryID>1</CategoryID>
            <CategoryName>Teasing Teens</CategoryName>
            <ChildCategories i:nil="true" />
            <HasChildren>false</HasChildren>
         </DirectCamCategory>
         <DirectCamCategory>
            <CategoryID>2</CategoryID>
            <CategoryName>Tasty Twenties</CategoryName>
            <ChildCategories i:nil="true" />
            <HasChildren>false</HasChildren>
         </DirectCamCategory>
         <DirectCamCategory>
            <CategoryID>3</CategoryID>
            <CategoryName>Dirty Thirties</CategoryName>
            <ChildCategories i:nil="true" />
            <HasChildren>false</HasChildren>
         </DirectCamCategory>
      </ChildCategories>
      <HasChildren>true</HasChildren>
   </DirectCamCategory>
   <DirectCamCategory>
      <CategoryID>-1</CategoryID>
      <CategoryName>Couples &amp; Groups</CategoryName>
      <ChildCategories>
         <DirectCamCategory>
            <CategoryID>7</CategoryID>
            <CategoryName>Husbands &amp; Wives</CategoryName>
            <ChildCategories i:nil="true" />
            <HasChildren>false</HasChildren>
         </DirectCamCategory>
         <DirectCamCategory>
            <CategoryID>8</CategoryID>
            <CategoryName>Lesbian Couples</CategoryName>
            <ChildCategories i:nil="true" />
            <HasChildren>false</HasChildren>
         </DirectCamCategory>
      </ChildCategories>
      <HasChildren>true</HasChildren>
   </DirectCamCategory>
</ArrayOfDirectCamCategory>