Back to top

Audience - API reference

Lists of audience types.

Permissions

  • An API key is needed

Parameters

  • No filter parameters available for this content type

Fields

Name Description Variable name Possible values
ID ID of the audience type id (mandatory) Integer
Title FR title of the audience type in French title_fr (mandatory) String
Title DE title of the audience type in German title_de (mandatory) String
Title EN title of the audience type in English title_en (mandatory) String

 

Examples

https://eventsinluxembourg.lu/fr/api/1.1/audiences?_format=json&api-key=xxx

[ 
    { 
        "id":6,
        "title_fr":"Pour tous publics",
        "title_en":"For all Audiences",
        "title_de":"Für alle Altersgruppen"
    },
    { 
        "id":46536,
        "title_fr":"Enfants",
        "title_en":"Children",
        "title_de":"Kinder"
    },
    { 
        "id":4,
        "title_fr":"Jeune Public",
        "title_en":"Young audience",
        "title_de":"Junges Publikum"
    },
    { 
        "id":5,
        "title_fr":"Adultes",
        "title_en":"Adults",
        "title_de":"Erwachsene"
    },
    { 
        "id":7,
        "title_fr":"Séniors",
        "title_en":"Seniors",
        "title_de":"Senioren"
    },
    { 
        "id":24352,
        "title_fr":"Professionnels",
        "title_en":"Professionals",
        "title_de":"Professionelle"
    }
]

https://eventsinluxembourg.lu/fr/api/1.0.1/audiences?_format=json&api-key=xxx

[ 
    { 
        "id":4,
        "title_fr":"Jeune Public",
        "title_en":"Young audience",
        "title_de":"Junges Publikum",
        "title_lu":""
    },
    { 
        "id":5,
        "title_fr":"Adultes",
        "title_en":"Adults",
        "title_de":"Erwachsene",
        "title_lu":""
    },
    { 
        "id":6,
        "title_fr":"Pour tous publics",
        "title_en":"For all Audiences",
        "title_de":"Für alle Altersgruppen",
        "title_lu":""
    },
    { 
        "id":7,
        "title_fr":"Séniors",
        "title_en":"Seniors",
        "title_de":"Senioren",
        "title_lu":""
    },
    { 
        "id":24352,
        "title_fr":"Professionnels",
        "title_en":"Professionals",
        "title_de":"Professionelle",
        "title_lu":""
    },
    { 
        "id":46536,
        "title_fr":"Enfants",
        "title_en":"Children",
        "title_de":"Kinder",
        "title_lu":""
    }
]