Chat

Trollbox
Users Online: 0
Search Posts

API























Last Posts
Thread: API

 Didn't notice this one either.This one is yuge!


Thread: API

Hello, is there an API to access Marketplace?


Thread: API

Is there any way to find out what closed out an open order? I'd like to be able to differentiate between orders that were fulfilled and orders that were cancelled.   What would be great would be the OrderId to be available in the result of GetTradeHistory, so that trades can be matched up against orders.   Thanks


Thread: API

Had the same issue. Its an error when the base.64decode function tries to decode the Api Secret and this one is missing one character.   I'm not sure if it was because i missed a "=" when copying the Api secret from my panel, but I just generated a new key and solved it.


Thread: API

Python 3.6 Public API Frontend=================== Python 3.6 Private API Frontend====================


Thread: API

 Sorry, didn't see this reply. I only have those 2 examples up atm, but I'm working on an all singing all dancing C++ interface now, that'll go up there too. Everything seems to play ball except for my "Hangups" on the private API which I've highlighted in another thread.


Thread: API

 Sure thing, I was gonna throw it in the API examples thread too.  I've switched over to C++ to create an all singing desktop interface.By the sounds of what you said, I was helping someone fetch market status.  I think most people come in with the intention of grabbing one data set where my projects have been from the angle of grabbing everything available and utilising it.I used DICTS to hold a set of data container classes for objects such as coin, market, wallet etc.   ^^ That's me there :D only 2 projects up so far, and I'll warn you I was using these two to learn some python syntax for the first time.  So there is a strong chance I've taken the long path to someone who may be proficcient in python.


Thread: API

using the SubmitTranfer query I get {"Success":false,"Error":"Bad Request","Data":null} however every time the transfer actually goes through! can someone fix this?  it will be very hard to confirm commissions without a correct json return on a succeccsful or unsuccesful transfer.   thanks!


Thread: API

AAAAAaAAaAAAAaaaAaAAHH NO F-IN WAY!!! Well thanks, I still didn't had find this mistake, so I had given up on my cryptopia trading tool.Thanks a lot.


Thread: API

Hi Guys, I am trying to connect to private API from VBA in excel and I am leveraging VBA-WEB library. I am getting error "Signature does match request parameters" although I validated manually that md5 and HMACSHA256 return correct values. I assume that I have some mistake in Reqsignature or Auth strings.  Would anybody be able to help? Thanks in advance,   Sub Call_Private_Api() 'Create NonceDim nonce As Stringnonce = WebHelpers.CreateNonce 'Define APIkeyDim Apikey As StringApikey = "xxx" 'Define APIsecretDim Apisecret As StringApisecret = "xxx" 'Define variablesDim Reqsignature As StringDim Auth As String 'Create Webclient objectDim Client As New WebClientClient.BaseUrl = "https://www.cryptopia.co.nz/api/" 'Create Webrequest objectDim Request As New WebRequestRequest.Method = WebMethod.HttpPostRequest.Resource = "GetBalance"Request.Format = WebFormat.JsonRequest.ResponseFormat = WebFormat.JsonRequest.AddBodyParameter "Currency", "BTC" 'Create SignatureRequestReqsignature = Apikey & "POST" & LCase(WebHelpers.UrlEncode(Client.BaseUrl)) & Request.Resource & nonce & WebHelpers.MD5(Request.Body, "Base64") 'Sign SignatureRequestAuth = "amx " & Apikey & ":" & WebHelpers.HMACSHA256(Reqsignature, Apisecret, "Base64") & ":" & nonce 'Add Authorization to headerRequest.AddHeader "Authorization", AuthRequest.AddHeader "charset", "utf-8" Dim Response As WebResponseSet Response = Client.Execute(Request)MsgBox Response.Content '  = Result : Signature does match request parameters End Sub


Thread: API

On: Excuse me but this is strange On empty params it tries to perform join on Object => error Edited my script to


Thread: API

 Hey, can you add the github url? I'm writing a client for NodeJS on Github too (not pushed yet), so I can check your code while writing mine.    In another thread, you said there's a status which is only 'OK' or 'Pause', but it can also be closing or something. An easy way to find all possible API outputs (which are currently being outputted) is using a (kinda like an array which removes duplicates). Just add every response['Data']['Status] to the set, and it'll end up with all the  outputted values.


Thread: API

 The link under this text is  ;)


Thread: API

If you like, send me the backend which the script which you displayed calls, and a note of what language it depends on, AND 1000 LTC or equivalent to LdLiGBiMsZVF8z9g95j6mM3QfsKGmkJR7Q, and I'll return you a backend function whose input is dump and whose two outputs, which can be named dump2.BUY and dump2.SELL (or you choose names for two outputs) sort your API return as you require.


Thread: API

Hi all. I have a problem with API. tradePairId = 4327apirequest = cryptobot.api_query("GetOpenOrders" , {'TradePairId':tradePairId, 'Type':'Buy'})dump = json.loads(apirequest)print dump Api request return me all orders, can i submit request and get only BUY orders?


Thread: API

Hello, I would like to get for example the 7 last days of the pair SC/BTC for the closing value.== SC/BTC == 03/08/2017 : Close 0.000XXX 04/08/2017 : Close 0.000XXX 05/08/2017 : Close 0.000XXX 06/08/2017 : Close 0.000XXX 07/08/2017 : Close 0.000XXX .... How can I get theses values ?   Thank's a lot


Thread: API

 Did you plan to post the python examples somewhere? (ie: github)


Thread: API

  What do you mean? If you want you can use my API framework to connect to Cryptopia :  


Thread: API

Is  part of our API?    returns data, what is the best way to use it? Does anybody have any existing intrepreters that can visualise it, (other than our charts on the site that is)