芒果API接口
  1. 接口列表
芒果API接口
  • 对接必读
  • 回调通知
  • API兼容说明(仅旧版本查看)
  • 接口列表
    • 全国所有城市
      POST
    • 城市的行政区/县
      POST
    • 热映电影&待上映电影
      POST
    • 搜索影片或影院
      POST
    • 影片信息&某城市下的影片排期
      POST
    • 影院列表
      POST
    • 查询某影院所属院线
      POST
    • 影片近期有排期的影院
      POST
    • 影院信息&影院排期的电影数据
      POST
    • 影院的电影场次数据
      POST
    • 影院的电影场次座位数据
      POST
    • 锁座下单
      POST
    • 释放座位
      POST
    • 确认下单
      POST
    • 查询订单详情
      POST
    • 查询账户余额
      POST
    • 获取H5+Token链接
      POST
    • 批量拉取影院数据
      POST
    • 批量拉取场次数据
      POST
  • 其他
    • APP/微信小程序嵌入H5
  1. 接口列表

影片信息&某城市下的影片排期

POST
/api/6229af3c0ab74

请求参数

Body 参数application/json
film_id
integer 
影片ID
必需
city_id
integer 
城市ID
必需
示例
{
    "film_id": 0,
    "city_id": 0
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-service.mgmovie.net/api/6229af3c0ab74' \
--header 'Content-Type: application/json' \
--data-raw '{
    "film_id": 0,
    "city_id": 0
}'

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
code
integer 
必需
message
string 
必需
data
object 
必需
film_info
object 
影片数据
必需
show_list
array [object {2}] 
排期数据
必需
示例
{
    "success": true,
    "code": 0,
    "message": "string",
    "data": {
        "film_info": {
            "film_id": 0,
            "film_code": "string",
            "name": "string",
            "director": "string",
            "cast": "string",
            "intro": "string",
            "moviearea": "string",
            "duration": 0,
            "publish_date": "string",
            "version_types": "string",
            "grade": "string",
            "film_types": "string",
            "language": "string",
            "pic": "string",
            "imgs": "string",
            "like": 0,
            "actors": "string"
        },
        "show_list": [
            {
                "cinemaid": 0,
                "de_show_time": "string"
            }
        ]
    }
}
修改于 2023-12-01 06:13:25
上一页
搜索影片或影院
下一页
影院列表
Built with