当前位置:网站首页>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())边栏推荐
- About the difference between count (1), count (*), and count (column name)
- Exportation et importation de tables de bibliothèque avec binaires MySQL
- Kubernetes notes (VIII) kubernetes security
- Project summary --2 (basic use of jsup)
- 项目总结--2(Jsoup的基本使用)
- tabbar的设置
- Une exploration intéressante de l'interaction souris - pointeur
- 智牛股项目--05
- Zhiniu stock -- 03
- Jedis source code analysis (I): jedis introduction, jedis module source code analysis
猜你喜欢

Jedis source code analysis (I): jedis introduction, jedis module source code analysis

CKA certification notes - CKA certification experience post

Kubernetes notes (IX) kubernetes application encapsulation and expansion

Install VM tools

Project summary --2 (basic use of jsup)

Kubernetes notes (IV) kubernetes network

使用conda创建自己的深度学习环境

Bio, NiO, AIO details

Cesium 点击获取模型表面经纬度高程坐标(三维坐标)

Multithreading and high concurrency (7) -- from reentrantlock to AQS source code (20000 words, one understanding AQS)
随机推荐
Alibaba cloud OOS file upload
有意思的鼠标指针交互探究
Selenium - 改变窗口大小,不同机型呈现的宽高长度会不一样
Method of converting GPS coordinates to Baidu map coordinates
Svn branch management
Cesium 点击获取模型表面经纬度高程坐标(三维坐标)
Cannot get value with @value, null
After the Chrome browser is updated, lodop printing cannot be called
Kubernetes notes (VI) kubernetes storage
代码管理工具
arcgis创建postgre企业级数据库
Zhiniu stock project -- 05
Une exploration intéressante de l'interaction souris - pointeur
Use @data in Lombok to simplify entity class code
Cesium 点击获三维坐标(经纬度高程)
SVN分支管理
Page text acquisition
Simple handwritten ORM framework
Disruptor learning notes: basic use, core concepts and principles
【无标题】8 简易版通讯录