车辆违章查询演示代码

车辆违章查询演示代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            string key = "a95fd827a3a94a9fb2e9c13a79858b6e";
         
            string url = "http://apis.haoservice.com/weizhang/citys?&key=" + key;
            WebClient wc = new WebClient();
            wc.Encoding = System.Text.Encoding.UTF8;
            string str = wc.DownloadString(url);

Console.WriteLine(str);
            Console.ReadKey();
        }
    }
}

时间: 2024-08-10 21:30:16

车辆违章查询演示代码的相关文章

车辆违章查询演示示例

using System; using System.Text; using System.Net; namespace weizhang { class Program { static void Main(string[] args) { string city = "*******";// 城市代码 * string hphm = "*********";// 号牌号码 完整7位 * string hpzl = "02";//号牌种类编号 

车辆违章查询接口

车辆违章查询演示示例 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Security;using System.Security.Cryptography.X509Certificates;using System.Net;using System.IO;using System.IO.Compression;using System.Text.

免费全国车辆违章查询API接口及其使用方法

最主要的是完全免费,没有任何限制,可以直接使用,连注册都省了!! 服务简介: 免费提供北京.上海.重庆.河北.山西.辽宁.吉林.黑龙江.浙江.安徽.山东.河南.湖北.湖南.广东.海南.四川.贵州.云南.陕西.甘肃.青海.内蒙古.西藏.宁夏.新疆等20多个省市违章查询接口,包括300多个城市. 接口地址: http://api.sprzny.com/weizhang/api/ 请求方法: POST 请求参数: 参数名 描述 hphm 车牌号码 classno 车架号 engineno 发动机号 p

全国车辆违章查询API查询文档

全国违规车辆查询可以查询API 可以查询到: 1:获取支持城市参数接口: 2:请求违章查询接口: 3:接口剩余请求参数查询: 4:车辆(号牌)种类编号查询: 5:简化请求违章查询接口 全国违规车辆API查询接口 :http://www.haoservice.com/docs/2 支持格式: json 接口形式:http 返回示例: {     "error_code": "0",     "reason": "成功返回",  

手机归属地查询演示代码

手机归属地演示代码示例 申请key值(http://www.haoservice.com/docs/14 )后输入要查手机号就可以用了,刚测试完,没问题. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using

聚合数据iOS SDK 全国车辆违章 演示示例

1,将聚合数据SDK(JuheApis.framework)添加到你的程序中来,SDK依赖的包包括: 2,在聚合SDK Framework的JHSDKAPIPath.h文件中找到快递查询接口宏,以及字典参数 /**@brief 车辆违章查询--1.获取支持城市接口 */#define kJHAPIS_LIFE_WZ_CITYS @"juhe.apis.wz.citys" //1.获取支持城市接口 /**@brief 车辆违章查询--2.请求违章查询接口 */#define kJHAPI

违章查询助手数据调用分享

车辆违章对于有爱车的人来说是一个重要,在APP中集成车辆违章查询,违章查询助手数据调用支持查询违章时间.违章地点.违章行为等. 接口名称:违章查询助手数据调用 接口平台:聚合数据 接口地址:http://v.juhe.cn/wz/query 支持格式:json/xml/jsonp 请求方式:POST GET 请求示例:http://v.juhe.cn/wz/query?city=SH&hphm=苏L50A11&engineno=123456&key=key 违章查询助手数据调用JS

星座查询演示示例代码

星座查询演示示例代码: using System; using System.Text; using System.Net; namespace map { class Program { static void Main(string[] args) { string key = "*********************"; string consName="白羊座"; string type="today"; string url = &

天气查询接口演示代码

天气查询接口演示代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Security;using System.Security.Cryptography.X509Certificates;using System.Net;using System.IO;using System.IO.Compression;using System.Text.