芒果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/6216f72d04def

请求参数

Body 参数application/json
city_id
string 
城市ID
必需
area_id
string 
区域ID
可选
keyword
string 
搜索影院名称
可选
模糊搜索
latitude
string 
纬度
可选
longitude
string 
经度
可选
page
integer 
页数
可选
page_size
integer 
可选
示例
{
    "city_id": "string",
    "area_id": "string",
    "keyword": "string",
    "latitude": "string",
    "longitude": "string",
    "page": 0,
    "page_size": 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/6216f72d04def' \
--header 'Content-Type: application/json' \
--data-raw '{
    "city_id": "string",
    "area_id": "string",
    "keyword": "string",
    "latitude": "string",
    "longitude": "string",
    "page": 0,
    "page_size": 0
}'

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
code
integer 
必需
message
string 
必需
data
object 
必需
total
integer 
总条数
必需
data
array [object {14}] 
必需
示例
{
    "success": true,
    "code": 1,
    "message": "操作成功",
    "data": {
        "total": 393,
        "per_page": 10,
        "current_page": 1,
        "last_page": 40,
        "data": [
            {
                "cinemaid": 8573,
                "cinema_code": "31200107",
                "cinema_name": "崇明影剧院",
                "city_name": "上海",
                "cinema_addr": "崇明区八一路488号(近北门路)",
                "area_name": "崇明区",
                "tel": "021-59613775",
                "cinema_service": "{\"可停车\":\"10个停车场在附近\"}",
                "longitude": "121.39681",
                "latitude": "31.62619",
                "city_id": 1,
                "regionid": 1375,
                "created_at": "2022-04-18 09:00:05",
                "updated_at": "2022-07-12 19:00:07",
                "distance": 88.78225878730004,
                "lng2": "114.46104",
                "lat2": "38.00407",
                "distance_text": "951.16km",
                "down_price": "0.00"
            },
            {
                "cinemaid": 75348,
                "cinema_code": "31200101",
                "cinema_name": "万达影城(上海崇明万达广场店)",
                "city_name": "上海",
                "cinema_addr": "崇明区城桥镇崇明大道8388号3F-A室",
                "area_name": "崇明区",
                "tel": "021-31032500",
                "cinema_service": "[]",
                "longitude": "121.41758",
                "latitude": "31.625633",
                "city_id": 1,
                "regionid": 1375,
                "created_at": "2022-04-18 09:00:05",
                "updated_at": "2022-07-12 19:00:07",
                "distance": 89.07790733456903,
                "lng2": "114.46104",
                "lat2": "38.00407",
                "distance_text": "952.47km",
                "down_price": 40.9
            }
        ]
    }
}
上一页
影片信息&某城市下的影片排期
下一页
查询某影院所属院线
Built with