FORUM COMMUNITY IDEAS SHOWCASE LEARNING CENTER

Need help connecting to this api


#1

Hello,
Can anyone help me in figuring out how to connect to this api via bubble:
https://poloniex.com/support/api/

Thanks !


#2

I’m looking to do the same for Bittrex. Did you manage to solve this?


#3

Nope couldn’t do it using bubble


#4

That’s a s shame. What did you end up using instead?

Did you try to manually define an action within the plugin for each API call? Would that even be possible?


#5

Ended up switching out of bubble in to code


#6

Out of curiosity, do you know what it was about the API that made it unworkable in Bubble? The sign? the nonce?


#7

Largely the nonce. It’s not like impossible or anything. Speaking in generic terms, (1) bubble only allows you to access the data it wants you to (e…g u cant access token or header data from api response); (2) any usage of data over the sessions or across page & api workflows mean u need to store it; (3) doing complex calcs e.g. signature is not really supported by the editor.

This is one of this things which is too much of a hassle to do via bubble vs. traditional code.
The reasoning is similar to (in my opinion) why doing anything UI is too much of a hassle in traditional code vs bubble. I still use bubble for such stuff but do more complex things via code.


#8

You can calculate the nonce (time in ms) and signature client side (CryptoJS). Zeroqode @levon made an decrypt/encrypt plugin which I suspect you could also use to calculate the signature.


#9

Yes but all this is client side, Hence cannot be used in api workflows