如何使用python从API获取数据 由 御林军发布于 2020-05-24 03:02:01 我必须使用python从rest api获取数据。如何发送标头以从API检索数据。是否有用于从API请求数据的模块。
Yes python has
requests
lib to make a call to POST and GET methods例如
Try
requests
it has two methodget()
andpost()
请试试: