当前位置:网站首页>Interface test weather API
Interface test weather API
2022-07-03 06:15:00 【Bobo AI leaves work】
# -*- coding: utf-8 -*-
import requests
url='http://apis.juhe.cn/simpleWeather/query'
data={
'city':' wuhan ',
'key':'bef2ae20fc12a6dd10ebc30e0c4ac659',
}
header={
'Content-Type':'application/json',
}
res=requests.get(url=url, params=data, json=header,)
print(res.status_code)
print(res.json())边栏推荐
- 使用 Abp.Zero 搭建第三方登录模块(一):原理篇
- 项目总结--04
- Method of converting GPS coordinates to Baidu map coordinates
- Multithreading and high concurrency (7) -- from reentrantlock to AQS source code (20000 words, one understanding AQS)
- Kubernetes notes (V) configuration management
- Kubesphere - build Nacos cluster
- Simple understanding of ThreadLocal
- Shell conditional statement
- BeanDefinitionRegistryPostProcessor
- 有意思的鼠标指针交互探究
猜你喜欢

Simple handwritten ORM framework

In depth analysis of kubernetes controller runtime

使用 Abp.Zero 搭建第三方登录模块(一):原理篇

Merge and migrate data from small data volume, sub database and sub table Mysql to tidb

arcgis创建postgre企业级数据库

YOLOV1学习笔记

YOLOV3学习笔记
![[set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)](/img/a4/00aca72b268f77fe4fb24ac06289f5.jpg)
[set theory] relational closure (relational closure solution | relational graph closure | relational matrix closure | closure operation and relational properties | closure compound operation)

Read blog type data from mysql, Chinese garbled code - solved

使用conda创建自己的深度学习环境
随机推荐
Redis cluster creation, capacity expansion and capacity reduction
Luogu problem list: [mathematics 1] basic mathematics problems
.NET程序配置文件操作(ini,cfg,config)
Naive Bayes in machine learning
Some thoughts on machine learning
Cesium 点击获三维坐标(经纬度高程)
JDBC connection database steps
Project summary --04
Pdf files can only print out the first page
Oracle Database Introduction
【系统设计】邻近服务
项目总结--2(Jsoup的基本使用)
YOLOV1学习笔记
Interesting research on mouse pointer interaction
BeanDefinitionRegistryPostProcessor
Request weather interface format, automation
Clickhouse learning notes (I): Clickhouse installation, data type, table engine, SQL operation
项目总结--04
Multithreading and high concurrency (7) -- from reentrantlock to AQS source code (20000 words, one understanding AQS)
Zhiniu stock project -- 04