Python Api HTTP OPSKINS.COM,发送参数
显示一个示例,说明如何同样地传递API密钥。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密钥参数被称为
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).