Search found 7 matches

by kaptainkrayola
Thu May 11, 2017 10:19 pm
Forum: System support
Topic: Status API returning exception message
Replies: 8
Views: 4805

Re: Status API returning exception message

I was able to get node.js to work with your api but there are two issues 1. Node.js does not like your SSL cert for some reason so you have to add process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; to your code otherwise node simply will not talk to your service 2. Your example code has an e...
by kaptainkrayola
Thu May 11, 2017 10:15 pm
Forum: System support
Topic: Status API returning exception message
Replies: 8
Views: 4805

Re: Status API returning exception message

FYI - i published a wrapper for the whole thing on github and npm

https://www.npmjs.com/package/prohashing
https://github.com/KaptainKrayola/prohashing

Hopefully this will make it really easy for people to implement in the future.
by kaptainkrayola
Thu May 11, 2017 6:00 pm
Forum: System support
Topic: Status API returning exception message
Replies: 8
Views: 4805

Re: Status API returning exception message

I was able to get node.js to work with your api but there are two issues 1. Node.js does not like your SSL cert for some reason so you have to add process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; to your code otherwise node simply will not talk to your service 2. Your example code has an er...
by kaptainkrayola
Thu May 11, 2017 8:32 am
Forum: System support
Topic: Status API returning exception message
Replies: 8
Views: 4805

Re: Status API returning exception message

I'll work on the WAMP implementation - i see the docs.

thanks
by kaptainkrayola
Wed May 10, 2017 3:41 pm
Forum: System support
Topic: Status API returning exception message
Replies: 8
Views: 4805

Status API returning exception message

When I query the live stats api https://prohashing.com/api/status?key=XXX I get back the message : { message: 'An unexpected exception occurred. The issue has been logged.' }. The error only occurs if i use the key for an account with a lot of miners though. If i use they key from an account with no...
by kaptainkrayola
Mon Apr 17, 2017 10:04 pm
Forum: System support
Topic: Profitability API
Replies: 7
Views: 6126

Re: Profitability API

I tried to do it server side with node.js and couldn't get it to talk to me. I'm going to implement it client side and see if i can get the JS to work. If it does then there's no need for the REST interface so we might be good anyway. I'll post back here once I have something working.

Thanks!
by kaptainkrayola
Mon Apr 17, 2017 6:41 pm
Forum: System support
Topic: Profitability API
Replies: 7
Views: 6126

Re: Profitability API

the REST api seems to return data about 1 in 10 times.