Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/292.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Api HTTP OPSKINS.COM,发送参数_Python_Ipython - Fatal编程技术网

Python Api HTTP OPSKINS.COM,发送参数

Python Api HTTP OPSKINS.COM,发送参数,python,ipython,Python,Ipython,显示一个示例,说明如何同样地传递API密钥。 我不明白API密钥参数被称为key 示例:https://api.opskins.com/IInventory/GetInventory/v1/?key=YOUR_KEY_HERE Much like Steam's WebAPI, requests to our API use the format https://api.opskins.com/IInterfaceName/MethodName/v1/. Most requests shou

显示一个示例,说明如何同样地传递API密钥。
我不明白

API密钥参数被称为
key

示例:
https://api.opskins.com/IInventory/GetInventory/v1/?key=YOUR_KEY_HERE

 Much like Steam's WebAPI, requests to our API use the format  https://api.opskins.com/IInterfaceName/MethodName/v1/. Most requests should           гse the GET method, but some (specially marked) methods require POSTs.

Most requests require authentication. Those that don't are marked. To authenticate, you'll need your API key from your account page. We prefer that you send your key as your username in HTTP Basic authorization, but you can also supply it as a key GET or POST parameter (depending on the request method).