当前位置:网站首页>Request weather interface format, automation
Request weather interface format, automation
2022-07-03 06:15:00 【Bobo AI leaves work】
import requests import json url = 'http://apis.juhe.cn/simpleWeather/query' headers={ "Content-Type": "application/x-www-form-urlencoded", "charset":"UTF-8" } data = { "city": "%E4%B8%8A%E6%B5%B7", "key":"bef2ae20fc12a6dd10ebc30e0c4ac659" } res = requests.post(url=url, data=data,headers=headers) print(res.json())
边栏推荐
- ODL framework project construction trial -demo
- 冒泡排序的简单理解
- Kubesphere - set up redis cluster
- Selenium ide installation recording and local project maintenance
- 1. 兩數之和
- 项目总结--01(接口的增删改查;多线程的使用)
- JDBC connection database steps
- In depth analysis of kubernetes controller runtime
- Maximum likelihood estimation, divergence, cross entropy
- Docker advanced learning (container data volume, MySQL installation, dockerfile)
猜你喜欢
从小数据量 MySQL 迁移数据到 TiDB
Pytorch builds the simplest version of neural network
Jedis source code analysis (II): jediscluster module source code analysis
.NET程序配置文件操作(ini,cfg,config)
Disruptor learning notes: basic use, core concepts and principles
Maximum likelihood estimation, divergence, cross entropy
Tabbar settings
ruoyi接口权限校验
Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster
Fluentd facile à utiliser avec le marché des plug - ins rainbond pour une collecte de journaux plus rapide
随机推荐
BeanDefinitionRegistryPostProcessor
Detailed explanation of contextclassloader
Migrate data from Mysql to tidb from a small amount of data
Merge and migrate data from small data volume, sub database and sub table Mysql to tidb
Clickhouse learning notes (I): Clickhouse installation, data type, table engine, SQL operation
Nacos service installation
Simple solution of small up main lottery in station B
Oracle Database Introduction
Skywalking8.7 source code analysis (II): Custom agent, service loading, witness component version identification, transform workflow
Maximum likelihood estimation, divergence, cross entropy
Selenium ide installation recording and local project maintenance
Leetcode problem solving summary, constantly updating!
tabbar的设置
The most classic 100 sentences in the world famous works
In depth analysis of kubernetes controller runtime
Pytorch builds the simplest version of neural network
Une exploration intéressante de l'interaction souris - pointeur
23 design models
【C#/VB.NET】 将PDF转为SVG/Image, SVG/Image转PDF
After the Chrome browser is updated, lodop printing cannot be called