this is my code that i use to get air quality in the nearest city
this is the response that i get
:i want to return a part of this response and it will be like this
我希望得到一个特别答复:我只想退回这部分:“污染”:{“ts”:“2023-02-03T06:00:00.000Z”,“aquius”:29、“美纽斯”:“p2”、“aqicn”:10、“维护”:“p2”}
1条答案
按热度按时间0qx6xfy61#
这个代码会起作用。
这是模拟rest API调用的演示代码
仅污染
全部数据