É feita através do URL https://api-content.ingresso.com/swagger/index.html que proverá diversos Endpoints para retorno de conteúdo.
Informação Importante:
A utilização da API requer um código de parceiro, clique aqui e entre em contato para saber qual o seu.
Abaixo seguem exemplos de uso de alguns Endpoints e dos seus respectivos Json de retorno.
Ao chamar o Endpoint irá retornar um Json com os dados do cinema. Segue abaixo um exemplo do Json de retorno:
Endpoint:
https://api-content.ingresso.com/v0/theaters?partnership=nome_
da_parceria
[
{
"id": "string",
"images": [
{
"url": "string",
"type": "PosterPortrait"
}
],
"urlKey": "string",
"name": "string",
"siteURL": "string",
"cnpj": "string",
"districtAuthorization": "string",
"address": "string",
"addressComplement": "string",
"number": "string",
"cityId": "string",
"cityName": "string",
"state": "string",
"uf": "string",
"neighborhood": "string",
"properties": {
"hasBomboniere": true
},
"telephones": [
"string"
],
"geolocation": {
"lat": 0,
"lng": 0
},
"deliveryType": [
"string"
],
"corporation": "string",
"corporationId": "string",
"corporationPriority": 0,
"rooms": [
{
"id": "string",
"name": "string",
"fullName": "string",
"capacity": 0,
"documents": [
{
"name": "string",
"number": "string",
"expiration": "2017-08-17T17:53:59.856Z"
}
]
}
],
"totalRooms": 0
}
]
Ao chamar o Endpoint irá retornar um Json com os dados do cinema por ID. Segue abaixo um exemplo do Json de retorno:
Endpoint:
https://api-content.ingresso.com/v0/theaters/id_do_cinema?partnership=
nome_da_parceria
[
{
"id": "string",
"images": [
{
"url": "string",
"type": "PosterPortrait"
}
],
"urlKey": "string",
"name": "string",
"siteURL": "string",
"cnpj": "string",
"districtAuthorization": "string",
"address": "string",
"addressComplement": "string",
"number": "string",
"cityId": "string",
"cityName": "string",
"state": "string",
"uf": "string",
"neighborhood": "string",
"properties": {
"hasBomboniere": true
},
"telephones": [
"string"
],
"geolocation": {
"lat": 0,
"lng": 0
},
"deliveryType": [
"string"
],
"corporation": "string",
"corporationId": "string",
"corporationPriority": 0,
"rooms": [
{
"id": "string",
"name": "string",
"fullName": "string",
"capacity": 0,
"documents": [
{
"name": "string",
"number": "string",
"expiration": "2017-08-17T17:53:59.862Z"
}
]
}
],
"totalRooms": 0
}
]
Ao chamar o Endpoint irá retornar um Json com os dados do cinema por cidade. Segue abaixo um exemplo do Json de retorno:
Endpoint:
https://api-content.ingresso.com/v0/theaters/city/id_da_cidade?partnership=nome_da_parceria
[
{
"id": "string",
"images": [
{
"url": "string",
"type": "PosterPortrait"
}
],
"urlKey": "string",
"name": "string",
"siteURL": "string",
"cnpj": "string",
"districtAuthorization": "string",
"address": "string",
"addressComplement": "string",
"number": "string",
"cityId": "string",
"cityName": "string",
"state": "string",
"uf": "string",
"neighborhood": "string",
"properties": {
"hasBomboniere": true
},
"telephones": [
"string"
],
"geolocation": {
"lat": 0,
"lng": 0
},
"deliveryType": [
"string"
],
"corporation": "string",
"corporationId": "string",
"corporationPriority": 0,
"rooms": [
{
"id": "string",
"name": "string",
"fullName": "string",
"capacity": 0,
"documents": [
{
"name": "string",
"number": "string",
"expiration": "2017-08-17T17:53:59.878Z"
}
]
}
],
"totalRooms": 0
}
]
Ao chamar o Endpoint irá retornar um Json com todas as sessões de um determinado cinema, deverá ser passado o ID da cidade e o ID do cinema. Segue abaixo um exemplo do Json de retorno:
[
{
"movies": [
{
"id": "string",
"title": "string",
"originalTitle": "string",
"inPreSale": true,
"duration": "string",
"contentRating": "string",
"distributor": "string",
"urlKey": "string",
"siteURL": "string",
"siteURLByTheater": "string",
"images": [
{
"url": "string",
"type": "PosterPortrait"
}
],
"trailers": [
{
"type": "string",
"url": "string",
"embeddedUrl": "string"
}
],
"genres": [
"string"
],
"tags": [
"string"
],
"rooms": [
{
"name": "string",
"type": [
"string"
],
"sessions": [
{
"id": "string",
"price": 0,
"type": [
"string"
],
"types": [
{
"id": 0,
"name": "string",
"alias": "string",
"display": true
}
],
"date": {
"localDate": "2017-08-17T17:53:59.743Z",
"isToday": true,
"dayOfWeek": "string",
"dayAndMonth": "string",
"hour": "string",
"year": "string"
},
"realDate": {
"localDate": "2017-08-17T17:53:59.743Z",
"isToday": true,
"dayOfWeek": "string",
"dayAndMonth": "string",
"hour": "string",
"year": "string"
},
"time": "string",
"defaultSector": "string",
"midnightMessage": "string",
"siteURL": "string",
"hasSeatSelection": true
}
]
}
]
}
],
"date": "string",
"dateFormatted": "string",
"dayOfWeek": "string",
"isToday": true
}
]
Ao chamar o Endpoint irá retornar um Json com todos os destaques por cidade. Segue abaixo um exemplo do Json de retorno:
Endpoint:
https://api-content.ingresso.com/v0/templates/highlights/id_da_cidade?partnership=nome_da_parceria
[
{
"event": {
"id": "string",
"title": "string",
"originalTitle": "string",
"countryOrigin": "string",
"priority": 0,
"contentRating": "string",
"duration": "string",
"rating": 0,
"synopsis": "string",
"cast": "string",
"director": "string",
"distributor": "string",
"inPreSale": true,
"type": "string",
"urlKey": "string",
"isPlaying": true,
"countIsPlaying": 0,
"premiereDate": {
"localDate": "2017-08-17T18:35:18.795Z",
"isToday": true,
"dayOfWeek": "string",
"dayAndMonth": "string",
"hour": "string",
"year": "string"
},
"creationDate": "2017-08-17T18:35:18.795Z",
"city": "string",
"siteURL": "string",
"images": [
{
"url": "string",
"type": "PosterPortrait"
}
],
"genres": [
"string"
],
"tags": [
"string"
],
"trailers": [
{
"type": "string",
"url": "string",
"embeddedUrl": "string"
}
]
},
"showtimes": [
{
"id": "string",
"name": "string",
"address": "string",
"addressComplement": "string",
"number": "string",
"urlKey": "string",
"neighborhood": "string",
"properties": {
"hasBomboniere": true
},
"deliveryType": [
"string"
],
"siteURL": "string",
"rooms": [
{
"name": "string",
"type": [
"string"
],
"sessions": [
{
"id": "string",
"price": 0,
"type": [
"string"
],
"types": [
{
"id": 0,
"name": "string",
"alias": "string",
"display": true
}
],
"date": {
"localDate": "2017-08-17T18:35:18.796Z",
"isToday": true,
"dayOfWeek": "string",
"dayAndMonth": "string",
"hour": "string",
"year": "string"
},
"realDate": {
"localDate": "2017-08-17T18:35:18.796Z",
"isToday": true,
"dayOfWeek": "string",
"dayAndMonth": "string",
"hour": "string",
"year": "string"
},
"time": "string",
"defaultSector": "string",
"midnightMessage": "string",
"siteURL": "string",
"hasSeatSelection": true
}
]
}
]
}
]
}
]
Ao chamar o Endpoint irá retornar um Json com todos os "Em Cartaz" por cidade. Segue abaixo um exemplo do Json de retorno:
Endpoint:
https://api-content.ingresso.com/v0/templates/nowplaying/id_da_cidade?partnership=nome_da_parceria
[
{
"id": "string",
"title": "string",
"originalTitle": "string",
"countryOrigin": "string",
"priority": 0,
"contentRating": "string",
"duration": "string",
"rating": 0,
"synopsis": "string",
"cast": "string",
"director": "string",
"distributor": "string",
"inPreSale": true,
"type": "string",
"urlKey": "string",
"isPlaying": true,
"countIsPlaying": 0,
"premiereDate": {
"localDate": "2017-08-17T18:35:18.824Z",
"isToday": true,
"dayOfWeek": "string",
"dayAndMonth": "string",
"hour": "string",
"year": "string"
},
"creationDate": "2017-08-17T18:35:18.824Z",
"city": "string",
"siteURL": "string",
"images": [
{
"url": "string",
"type": "PosterPortrait"
}
],
"genres": [
"string"
],
"tags": [
"string"
],
"trailers": [
{
"type": "string",
"url": "string",
"embeddedUrl": "string"
}
]
}
]
Ao chamar o Endpoint irá retornar um Json com todos os "Em Breve" por cidade. Segue abaixo um exemplo do Json de retorno:
Endpoint:
https://api-content.ingresso.com/v0/templates/soon/id_da_cidade?partnership=nome_da_parceria
[
{
"id": "string",
"title": "string",
"originalTitle": "string",
"countryOrigin": "string",
"priority": 0,
"contentRating": "string",
"duration": "string",
"rating": 0,
"synopsis": "string",
"cast": "string",
"director": "string",
"distributor": "string",
"inPreSale": true,
"type": "string",
"urlKey": "string",
"isPlaying": true,
"countIsPlaying": 0,
"premiereDate": {
"localDate": "2017-08-17T18:35:18.789Z",
"isToday": true,
"dayOfWeek": "string",
"dayAndMonth": "string",
"hour": "string",
"year": "string"
},
"creationDate": "2017-08-17T18:35:18.789Z",
"city": "string",
"siteURL": "string",
"images": [
{
"url": "string",
"type": "PosterPortrait"
}
],
"genres": [
"string"
],
"tags": [
"string"
],
"trailers": [
{
"type": "string",
"url": "string",
"embeddedUrl": "string"
}
]
}
]