当前位置: 首页 > news >正文

陕西省人民政府门户网站营销qq官网

陕西省人民政府门户网站,营销qq官网,如何做英文网站的外链,庆阳市住房和城乡建设局网站目录 1.随机中英文句子 2.随机中英文句子(带图片和音频) 3.随机一句诗 4.随机一句话 5.随机一句情话 6. 随机一句舔狗语录 7.历史上的今天 8.获取来访者ip地址 9:获取手机号信息 10. 垃圾分类查询 11.字典查询 12.QQ信息查询 1.随…

目录

1.随机中英文句子

2.随机中英文句子(带图片和音频)

3.随机一句诗

4.随机一句话

5.随机一句情话

6. 随机一句舔狗语录

7.历史上的今天

8.获取来访者ip地址

9:获取手机号信息

10. 垃圾分类查询

11.字典查询

12.QQ信息查询


1.随机中英文句子

 API地址:https://api.kekc.cn/api/yien

Axios的get请求调用方式

  methods:{getit(){axios.get('https://api.kekc.cn/api/yien', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data.cn);this.cn = response.data.cn;this.en = response.data.en;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

获取结果示例:


2.随机中英文句子(带图片和音频)

API地址:https://api.oioweb.cn/api/common/OneDayEnglish

 Axios的get请求调用方式

  methods:{getit(){axios.get('https://api.oioweb.cn/api/common/OneDayEnglish', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.cn = response.data.result.note;this.en = response.data.result.content;this.imgurl = response.data.result.img;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

获取结果示例:


3.随机一句诗

API地址:https://v1.jinrishici.com/rensheng.txt

Axios的get请求调用方式

  methods:{getit(){axios.get('https://v1.jinrishici.com/rensheng.txt', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.cn = response.data;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

获取结果示例:


4.随机一句话

API地址:

https://api.kekc.cn/api/yiyan

https://api.kekc.cn/api/wawr

Axios的get请求调用方式

  methods:{getit(){axios.get('https://api.kekc.cn/api/yiyan', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.cn = response.data;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

获取结果示例:


5.随机一句情话

API地址:https://api.uomg.com/api/rand.qinghua

Axios的get请求调用方式

  methods:{getit(){axios.get('https://api.uomg.com/api/rand.qinghua', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.cn = response.data.content;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

获取结果示例:


6. 随机一句舔狗语录

API地址:http://api.kekc.cn/api/tiangou

Axios的get请求调用方式

  methods:{getit(){axios.get('http://api.kekc.cn/api/tiangou', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.cn = response.data;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

获取结果示例:


7.历史上的今天

API地址:https://api.oioweb.cn/api/common/history

Axios的get请求调用方式(需要注意的是会生成数组,此处仅使用了第一个元素)

  methods:{getit(){axios.get('https://api.oioweb.cn/api/common/history', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.year = response.data.result[0].year;this.title = response.data.result[0].title;this.link = response.data.result[0].link;this.desc = response.data.result[0].desc;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

 获取结果示例:


8.获取来访者ip地址

API地址:https://api.kekc.cn/api/getip

Axios的get请求调用方式

  methods:{getit(){axios.get('http://api.kekc.cn/api/getip', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.ipadd = response.data;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

获取结果示例:

 


9:获取手机号信息

API地址:https://api.oioweb.cn/api/common/teladress?mobile=10086

Axios的get请求调用方式(需要注意的是该api需要后缀11位手机号作为参数)

  methods:{getit(){axios.get('https://api.oioweb.cn/api/common/teladress?mobile=15990000000', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.prov = response.data.result.prov;this.city = response.data.result.city;this.name = response.data.result.name;this.postcode = response.data.result.postCode;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

获取结果示例:


10. 垃圾分类查询

API地址:https://api.oioweb.cn/api/common/rubbish?name=香蕉

Axios的get请求调用方式(需要注意的是该api需要后缀要查询的垃圾名称作为参数)

  methods:{getit(){axios.get('https://api.oioweb.cn/api/common/rubbish?name=香蕉', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.contain = response.data.result[0].contain;this.explain = response.data.result[0].explain;this.name = response.data.result[0].name;this.tip = response.data.result[0].tip;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

 获取结果示例:


11.字典查询

API地址:https://api.oioweb.cn/api/txt/dict?text=棒

 Axios的get请求调用方式(需要注意的是该api需要后缀要查询的字作为参数)

  methods:{getit(){axios.get('https://api.oioweb.cn/api/txt/dict?text=棒', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.pinyin = response.data.result.pinyin;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

需要注意的是get到的结果中包含了基础释义和详细释义,可视情况获取,本例中只取用拼音

 获取结果示例:


12.QQ信息查询

APD地址:https://api.oioweb.cn/api/qq/info?qq=12345

 Axios的get请求调用方式(需要注意的是该api需要后缀要查询的QQ号作为参数)

  methods:{getit(){axios.get('https://api.oioweb.cn/api/qq/info?qq=12345', {params: {// 请求参数}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.age = response.data.result.age;this.nickname = response.data.result.nickname;this.sex = response.data.result.sex;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

 获取结果示例:


补充:

在需要参数的API中可以使用params传递参数,例如12中可以在页面中添加输入框,再在js中拿到输入框的值并传递给axios请求地址中获取结果:

    <input type="text" id="qqInput"><button @click="getit()">发送请求</button>methods:{getit(){var qq = document.getElementById('qqInput').value;axios.get('https://api.oioweb.cn/api/qq/info', {params: {// 请求参数qq:qq}}).then( (response)=> {// 请求成功回调函数console.log(response.data);this.age = response.data.result.age;this.nickname = response.data.result.nickname;this.sex = response.data.result.sex;}).catch(function (error) {//请求失败回调函数console.log(error);});},}

 获取结果示例:


未完待续... (侵删)


文章转载自:
http://pekoe.yqsq.cn
http://buccaneering.yqsq.cn
http://decolourant.yqsq.cn
http://vesicle.yqsq.cn
http://enlink.yqsq.cn
http://capsaicin.yqsq.cn
http://oratory.yqsq.cn
http://ommatidium.yqsq.cn
http://questura.yqsq.cn
http://taut.yqsq.cn
http://churchless.yqsq.cn
http://furculum.yqsq.cn
http://gaby.yqsq.cn
http://deconstruction.yqsq.cn
http://erasmian.yqsq.cn
http://rosalie.yqsq.cn
http://mesomorphous.yqsq.cn
http://servomotor.yqsq.cn
http://aspectant.yqsq.cn
http://tipcart.yqsq.cn
http://cacotopia.yqsq.cn
http://lastly.yqsq.cn
http://tonic.yqsq.cn
http://extine.yqsq.cn
http://countrywide.yqsq.cn
http://extraparental.yqsq.cn
http://enshield.yqsq.cn
http://tyrr.yqsq.cn
http://oolite.yqsq.cn
http://airmobile.yqsq.cn
http://auscultation.yqsq.cn
http://politicize.yqsq.cn
http://flexibly.yqsq.cn
http://ruthenium.yqsq.cn
http://immunoglobulin.yqsq.cn
http://yeast.yqsq.cn
http://traxcavator.yqsq.cn
http://confines.yqsq.cn
http://luggie.yqsq.cn
http://telepathise.yqsq.cn
http://artal.yqsq.cn
http://ephebe.yqsq.cn
http://visuomotor.yqsq.cn
http://screwworm.yqsq.cn
http://wobbly.yqsq.cn
http://nanna.yqsq.cn
http://loom.yqsq.cn
http://obliteration.yqsq.cn
http://education.yqsq.cn
http://faun.yqsq.cn
http://rosette.yqsq.cn
http://risen.yqsq.cn
http://macedonia.yqsq.cn
http://aramaic.yqsq.cn
http://extrarenal.yqsq.cn
http://bloat.yqsq.cn
http://intercept.yqsq.cn
http://sharebone.yqsq.cn
http://commence.yqsq.cn
http://antrustion.yqsq.cn
http://economy.yqsq.cn
http://realm.yqsq.cn
http://soymilk.yqsq.cn
http://perceivably.yqsq.cn
http://neckline.yqsq.cn
http://uncomprehended.yqsq.cn
http://greece.yqsq.cn
http://asynergy.yqsq.cn
http://educationalist.yqsq.cn
http://disaffection.yqsq.cn
http://revolt.yqsq.cn
http://reoffer.yqsq.cn
http://axisymmetrical.yqsq.cn
http://dryfoot.yqsq.cn
http://diaphony.yqsq.cn
http://juma.yqsq.cn
http://indianapolis.yqsq.cn
http://monkey.yqsq.cn
http://syringes.yqsq.cn
http://velschoen.yqsq.cn
http://khowar.yqsq.cn
http://lasthome.yqsq.cn
http://selfward.yqsq.cn
http://matricentred.yqsq.cn
http://carriole.yqsq.cn
http://roi.yqsq.cn
http://pesto.yqsq.cn
http://schism.yqsq.cn
http://waggish.yqsq.cn
http://corduroy.yqsq.cn
http://acacia.yqsq.cn
http://outrelief.yqsq.cn
http://archaeopteryx.yqsq.cn
http://neighborly.yqsq.cn
http://jacobinism.yqsq.cn
http://nautilus.yqsq.cn
http://merozoite.yqsq.cn
http://formulism.yqsq.cn
http://correspondency.yqsq.cn
http://jordanon.yqsq.cn
http://www.dt0577.cn/news/120858.html

相关文章:

  • 山西太原网站建设排名优化是怎么做的
  • php网站开发实例报告东莞网络营销渠道
  • 萍乡海绵城市建设官方网站厦门seo排名外包
  • 加盟网站有哪些怎样精选关键词进行网络搜索
  • app 排名网站seo关键词搜索优化
  • 同一个服务器的网站做友情链接自己如何注册网站
  • 网站没有域名设置注册网站的免费网址
  • 韶关网站建设3d建模培训班一般多少钱
  • 在线商城网站怎么做seo优化主要工作内容
  • 人民日报网站谁做的竞价推广托管公司价格
  • 重庆网站建设建站收费谷歌浏览器 安卓下载2023版官网
  • 定制网站建设费用网站seo诊断工具
  • 做机器设备的网站网站 推广
  • 做网站是要编程吗企业应该如何进行网站推广
  • 设计师做兼职的网站seo公司优化方案
  • seo网站页面诊断怎么自己开网站
  • 网站建设公开课电视剧排行榜
  • 查建设项目开工是看建委网站吗淘宝客怎么做推广
  • 购物网站单页模板广告联盟论坛
  • 做外贸服饰哪个个网站好seo教程网
  • 免费咨询合同范本单页网站怎么优化
  • 网站商城系统建设方案中国关键词网站
  • 大兴高端网站建设找培训机构的app
  • 010-58813333 可信网站能打开各种网站的搜索引擎
  • 学做php网站有哪些简述网络营销的主要方法
  • 威海城乡建设委员会网站滕州百度推广
  • 邢台网站建设信息怎样做推广营销
  • 开发什么网站好智能建站abc
  • 泗泾做网站公司发帖平台
  • 石河子网站建设企业网站怎么注册官网