“llaves” Código de respuesta

llaves

import requests
session = requests.session()
session.auth = ("publicKey", "secretKey")
b = session.get('https://api.hitbtc.com/api/2/order').json()
print(b)
Lovely Leopard

llaves

import requests
session = requests.session()
session.auth = ("publicKey", "secretKey")
b = session.get('https://api.hitbtc.com/api/2/order/c1837634ef81472a9cd13c81e7b91401').json()
print(b)
Lovely Leopard

llaves

curl -u "publicKey:secretKey" https://api.hitbtc.com/api/2/trading/balance
Lovely Leopard

llaves

curl -X GET -u "publicKey:secretKey" \
    "https://api.hitbtc.com/api/2/trading/fee/ETHBTC"    
Lovely Leopard

llaves

const fetch = require('node-fetch');

const credentials = Buffer.from('publicKey' + ':' + 'secretKey').toString('base64');

fetch('https://api.hitbtc.com/api/2/trading/balance', {
    method: 'GET',
    headers: {
        'Authorization': 'Basic ' + credentials
    }
});

Lovely Leopard

llaves

import requests
session = requests.session()
session.auth = ("publicKey", "secretKey")
b = session.get('https://api.hitbtc.com/api/2/trading/balance').json()
print(b)
Lovely Leopard

llaves

curl -X GET -u "publicKey:secretKey" \
     "https://api.hitbtc.com/api/2/order"
Lovely Leopard

llaves

curl -X GET -u "publicKey:secretKey" \
     "https://api.hitbtc.com/api/2/order/c1837634ef81472a9cd13c81e7b91401"
Lovely Leopard

llaves

    import requests
    session = requests.session()
    session.auth = ("publicKey", "secretKey")
    orderData = {'symbol':'ethbtc', 'side': 'sell', 'quantity': '0.063', 'price': '0.046016' }
    r = session.post('https://api.hitbtc.com/api/2/order', data = orderData)        
    print(r.json())

Lovely Leopard

llaves

import requests
session = requests.session()
session.auth = ("publicKey", "secretKey")

Lovely Leopard

Respuestas similares a “llaves”

Preguntas similares a “llaves”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código