首页 教育亲子 学校数据
学校数据

学校数据

  • 152
  • 145
根据省市、学校类别获取学校列表,根据学校名称、学校类别、省份搜索学校,查询学校详情。
58.00/1000次
申请就送10次
https://api.jisuapi.com/school/get
JSON
GET POST
https://api.jisuapi.com/school/get?province=浙江&pagenum=1&appkey=yourappkey

请求参数:

API在线测试
参数名称类型必填说明
typeid int 类型ID
pagenum int 页码(默认为第一页,一页20条)
province string 省份

返回参数:

参数名称类型说明
province string 省份
typeid int 类型ID
pagenum int 页码(默认为第一页,一页20条)
pagesize int 页面大小
detailid int 学校ID
name string 学校名称
type string 学校类型
foundyear string 创建年份
logo string 学校logo
years string 年份
address string 地址

请求代码:

查看代码
<?php
/*
 * 获取学校列表
*/
$appkey = 'your_appkey_here';//你的appkey
$province= '浙江';  //省份
$type = '大学本科'; //学校类型
$pagenum = 1;				//页数
$url = "https://api.jisuapi.com/school/get?province=$province&type=$type&pagenum=$pagenum&appkey=$appkey";
$result = curlOpen($url);
$jsonarr = json_decode($result, true);
if($jsonarr['status'] != 0)
{
    echo $jsonarr['msg'];
    exit();
}
 echo $jsonarr["province"].' '.$jsonarr["typeid"].' '.$jsonarr["pagenum"].' '.$jsonarr["pagesizes"].'
'; foreach ($jsonarr['result']['list'] as $key =>$val) { echo $val["detailid"].' '.$val["name"].' '.$val["type"].' '.$val["province"].' '.$val["foundyear"].' '.$val["principal"].' '.$val["logo"].' '.$val["schoolno"].' '.$val["years"].' '.$val["address"].'
'; }

JSON返回示例 :

{
    "status": 0,
    "msg": "ok",
    "result": {
        "province": "浙江",
        "typeid": "",
        "pagenum": 1,
        "pagesize": 20,
        "list": [
            {
                "detailid": 48034,
                "name": "衢州市衢江区教育中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            },
            {
                "detailid": 48126,
                "name": "江山市凤林镇白沙中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "江山市凤林镇白沙村"
            },
            {
                "detailid": 48166,
                "name": "衢州市柯城区石室乡中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "浙江省衢州市柯城区石室乡石室村"
            },
            {
                "detailid": 48204,
                "name": "金华市金东区岭下镇中心小学幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "金东区岭下镇新亭村(原中港希望小学校区)"
            },
            {
                "detailid": 48222,
                "name": "青田县温溪镇中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "温溪镇金中街33号"
            },
            {
                "detailid": 48278,
                "name": "常山县辉埠镇第二中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            },
            {
                "detailid": 48299,
                "name": "衢州市柯城区航埠镇中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            },
            {
                "detailid": 48375,
                "name": "衢州市柯城区姜家山乡中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "浙江省衢州市柯城区姜家山乡姜家山村"
            },
            {
                "detailid": 48401,
                "name": "宁波市镇海区庄市街道光明村中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "宁波市镇海区庄市街道光明村村委会东侧"
            },
            {
                "detailid": 48446,
                "name": "开化县张湾中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            },
            {
                "detailid": 48488,
                "name": "金华市金东区孝顺镇中心小学幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            },
            {
                "detailid": 48493,
                "name": "金华市金东区江东镇中心小学幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            },
            {
                "detailid": 48496,
                "name": "常山县大桥头乡第一中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "常山县大桥头乡浮河村"
            },
            {
                "detailid": 48497,
                "name": "常山县东案乡中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            },
            {
                "detailid": 48509,
                "name": "金华市金东区傅村镇中心小学幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            },
            {
                "detailid": 48522,
                "name": "常山县金川中心双语幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "常山县金川街道常桥村"
            },
            {
                "detailid": 48532,
                "name": "嘉兴经济技术开发区长水中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "浙江省嘉兴市经济技术开发区长水街道石堰一期对面"
            },
            {
                "detailid": 48551,
                "name": "江山市清湖街道中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "清湖街道清湖一街52号"
            },
            {
                "detailid": 48576,
                "name": "江山市保安乡中心幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": "江山市保安乡慕仙街24号"
            },
            {
                "detailid": 48583,
                "name": "金华市金东区源东中心学校幼儿园",
                "type": "幼儿园",
                "province": "浙江",
                "foundyear": null,
                "principal": null,
                "logo": null,
                "schoolno": null,
                "years": null,
                "address": null
            }
        ]
    }
}
                    

API错误码:

代号说明
201 省份为空
202 省份有误
203 学校名称为空
204 详情ID为空
205 详情ID不正确
206 请输入略详细名称
210 没有信息

系统错误码:

代号说明
101 APPKEY为空或不存在
102 APPKEY已过期
103 APPKEY无请求此数据权限
104 请求超过次数限制
105 IP被禁止
106 IP请求超过限制
107 接口维护中
108 接口已停用
计次套餐套餐规格价格
免费套餐 10次 0.00 元  ≈0元/次
Level1 1000次 58.00 元  ≈0.058元/次
Level2 10000次 500.00 元  ≈0.05元/次
Level3 50000次 2200.00 元  ≈0.044元/次
Level4 100000次 4000.00 元  ≈0.04元/次
* 包月套餐和计次套餐不可同时购买,不可叠加使用。
包月套餐套餐规格价格
Level1
特惠
500次/天 315.00元 ≈0.02100元/次
Level2 1500次/天 1600.00元 ≈0.03556元/次
Level3 3000次/天 2940.00元 ≈0.03267元/次
Level4 5000次/天 4340.00元 ≈0.02893元/次
* 套餐使用时限为订购之日起30日。

活动推荐ACTIVITY 更多

  • orc活动

其它推荐RECOMMENDED DATA 更多