-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please provide PHP example #4
Comments
this should work
the output should be something like:
complete php example comming soon |
Can't really figure out where i went wrong, but your code got me over the hump.
|
This worked for me, but when i try to add query, it fails with invalid session.. Any ideas? I am trying to get "/main/api/v2/hashpower/myOrders/" with params "algorithm=SHA256" |
try like this please pay attention to $qs param is added to $signature without (?) but then with (?) like this: $url_root.$path."?".$qs
response
|
Please give an example "POST" request UPDATE PRICE AND LIMIT. |
pay attention to add post body to the end of signature string - $signature and set post curl request with: curl_setopt($curl, CURLOPT_POST, 1); i also added content type and content length to request headers marketFactor, displayMarketFactor and orderId u get from .. order details request or algoinfo
|
Hello! Maybe you can help me! I need a request to get order data. C # string priceResponse = api.get("/main/api/v2/hashpower/order/" + myOrderId + "/updatePriceAndLimit", true, time); |
string priceResponse = api.get("/main/api/v2/hashpower/order/" + myOrderId + "/updatePriceAndLimit", true, time); response "Http Request method not allowed for this resource" |
You are using wrong method - for updatePriceAndLimit u should use POST insted of GET request type. |
Thx bro! |
Hello! please, help me
what am I doing wrong? |
this depends on market situation .. just call u will get price and max speed (min speed is in algo settings) |
Hello, help me please. ( "Invalid Session 2000" ) server time: 1.58269476041E+12
)
|
Hi Fennix86, Can you help me with this one, I don't what did I do wrong, I can't proceed the New Order of Exchange. Thanks `<? '; |
pouvais vous maider pour le coter php pour GET /main/api/v2/mining/rig2/{rigId} |
Hello, Have you solved this issue ? |
Hello! please, help me |
Always get "errors":[{"code":2000,"message":"Invalid Session"}]
I am guessing I did not set up my sign data properly.
My OrgID matches what's in my account and the API info is set up under my Org.
Please help
PHP CODE
The text was updated successfully, but these errors were encountered: