Skip to content

Latest commit

 

History

History
81 lines (62 loc) · 2.72 KB

APIKeyApi.md

File metadata and controls

81 lines (62 loc) · 2.72 KB

IO.Swagger.Api.APIKeyApi

All URIs are relative to https://www.bitmex.com/api/v1

Method HTTP request Description
APIKeyGet GET /apiKey Get your API Keys.

APIKeyGet

List APIKeyGet (bool? reverse = null)

Get your API Keys.

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class APIKeyGetExample
    {
        public void main()
        {
            // Configure API key authorization: apiExpires
            Configuration.Default.AddApiKey("api-expires", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("api-expires", "Bearer");
            // Configure API key authorization: apiKey
            Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
            // Configure API key authorization: apiSignature
            Configuration.Default.AddApiKey("api-signature", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("api-signature", "Bearer");

            var apiInstance = new APIKeyApi();
            var reverse = true;  // bool? | If true, will sort results newest first. (optional)  (default to false)

            try
            {
                // Get your API Keys.
                List<APIKey> result = apiInstance.APIKeyGet(reverse);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyApi.APIKeyGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
reverse bool? If true, will sort results newest first. [optional] [default to false]

Return type

List

Authorization

apiExpires, apiKey, apiSignature

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json, application/xml, text/xml, application/javascript, text/javascript

[Back to top] [Back to API list] [Back to Model list] [Back to README]