withVectorsTab-97x42
We's got 26,182,465 images, yo!

API Access

API Documentation - getCategories

This method allows you to get the list of PhotoXpress categories

Authentication

This method does not require authentication.

Arguments

Argument Type Element (array) Valid Values Default Value Detail
api_key string none you need a valid api key to use the API

Returned Values

Returns an array of categories

Example Query


<?xml version="1.0" encoding="utf-8"?>
<methodCall>
  <methodName>main.getCategories</methodName>
  <params>
    <param>
      <value>
        <string>YOUR_API_KEY</string>
      </value>
    </param>
  </params>
</methodCall>

Example Response


<?xml version="1.0" encoding="utf-8"?>
<methodResponse>
  <params>
    <param>
      <value>
        <struct>
          <member>
            <name>c1_10000000</name>
            <value>
              <string>Abstract</string>
            </value>
          </member>
          <member>
            <name>c1_2000000</name>
            <value>
              <string>Architecture</string>
            </value>
          </member>
          <member>
            <name>c1_9000000</name>
            <value>
              <string>Background & Texture</string>
            </value>
          </member>
          <member>
            <name>c2_1000000</name>
            <value>
              <string>Business</string>
            </value>
          </member>
          <member>
            <name>c2_15000000</name>
            <value>
              <string>Concept</string>
            </value>
          </member>
          <member>
            <name>c2_10000000</name>
            <value>
              <string>Emotions & Feelings</string>
            </value>
          </member>
          <member>
            <name>c1_4000000</name>
            <value>
              <string>Fauna & Flora</string>
            </value>
          </member>
          <member>
            <name>c1_7000000</name>
            <value>
              <string>Food & Drink</string>
            </value>
          </member>
          <member>
            <name>c2_20000000</name>
            <value>
              <string>Human Features</string>
            </value>
          </member>
          <member>
            <name>c1_1000000</name>
            <value>
              <string>Landscape</string>
            </value>
          </member>
          <member>
            <name>c2_30000000</name>
            <value>
              <string>Leisure</string>
            </value>
          </member>
          <member>
            <name>c2_25000000</name>
            <value>
              <string>Lifestyle</string>
            </value>
          </member>
          <member>
            <name>c1_5000000</name>
            <value>
              <string>Objects</string>
            </value>
          </member>
          <member>
            <name>c1_99000000</name>
            <value>
              <string>Other</string>
            </value>
          </member>
          <member>
            <name>c1_3000000</name>
            <value>
              <string>People</string>
            </value>
          </member>
          <member>
            <name>c2_40000000</name>
            <value>
              <string>Science & Nature</string>
            </value>
          </member>
          <member>
            <name>c2_45000000</name>
            <value>
              <string>Social Issues</string>
            </value>
          </member>
          <member>
            <name>c1_8000000</name>
            <value>
              <string>Sport & Leisure</string>
            </value>
          </member>
          <member>
            <name>c2_5000000</name>
            <value>
              <string>Technology</string>
            </value>
          </member>
          <member>
            <name>c1_6000000</name>
            <value>
              <string>Transportation</string>
            </value>
          </member>
          <member>
            <name>c2_50000000</name>
            <value>
              <string>Travel</string>
            </value>
          </member>
          <member>
            <name>c2_35000000</name>
            <value>
              <string>Welfare</string>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodResponse>