Skip to main content

Attributes

Get All Attributes

curl "https://www.filmmakers.eu/api/v1/attributes/" \
-H "Authorization: Token token=API_KEY"
Example Response
[
"accent_skill",
"accents",
"dances",
"dialect_skill",
"dialects",
"drivers_licenses",
...
]

This endpoint retrieves all possible profile attributes that are closed lists, such as languages or nationalities, as well as attributes for credits (vita entries).

For countries, ISO 3166-1 alpha-2 codes are used (see here). For federal states (states/subdivisions), ISO 3166-2 codes are used, e.g., for Germany: https://en.wikipedia.org/wiki/ISO_3166-2:DE. Since the ISO lists are standardized (and extensive), they are not present in this endpoint for the time being.

Get Key/Value Pairs for Attributes

curl "https://www.filmmakers.eu/api/v1/attributes/xxx" \
-H "Authorization: Token token=API_KEY"
Example Response
{
"AD": "Andorran",
"AE": "United Arab Emirates",
"AF": "Afghan",
"AG": "Antigua and Barbuda",
"AL": "Albanian",
"AM": "Armenian",
"AO": "Angolan",
"AR": "Argentinean",
"AT": "Austrian",
"AU": "Australian",
...
}

This endpoint retrieves all possible key/value pairs for one of the attributes. Pass one of the supported locales (see above) as a parameter to retrieve localized values.