五、天气、在线计算、域名信息查询、ip归属、手机号归属

来源:互联网 发布:fp树关联规则算法 编辑:程序博客网 时间:2024/05/20 06:25

  至此,http://api.ajaxsns.com/ 上的提供的接口基本上已被我N完。记录一下剩下的接口调用.


上图



代码如下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//天气预报
private function get_weather($find_name){
    $find_name=empty($find_name)?"桂林":$find_name;
    return $this->_ajaxsns_comm("天气".$find_name);
}
  
//在线计算
private function get_calculate($find_name){
    return $this->_ajaxsns_comm($find_name);
}
  
//域名信息查询
private function get_domain($find_name){
    return $this->_ajaxsns_comm("域名".$find_name);
}
  
//IP 归属
private function get_ip($find_name){
    return $this->_ajaxsns_comm("归属".$find_name);
}
  
//手机 归属
private function get_mobile($find_name){
    return $this->_ajaxsns_comm("归属".$find_name);
}


收工

查看来源
0 0