Skip to content
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

not an issue, just asking for help ! #35

Open
gadget78 opened this issue Sep 4, 2021 · 2 comments
Open

not an issue, just asking for help ! #35

gadget78 opened this issue Sep 4, 2021 · 2 comments

Comments

@gadget78
Copy link

gadget78 commented Sep 4, 2021

how can i retrieve the value of ELS from this query...

=importJSONAPI("https://data.ripple.com/v2/accounts/rNJYAGgWCn6PcpNAaMnXWikn9eGbUkkMu5/balances", "$...balances[?(@Property===('currency') && @.match===('ELS'))]", "@")

been trying so many different ways, nothing seems to work ! and im sure that it is possible !
i couldn't find a link to any documents on using the query function ?
many thanks for ANY pointers !

@qeet
Copy link
Owner

qeet commented Sep 8, 2021

Try this:

=importJSONAPI("https://data.ripple.com/v2/accounts/rNJYAGgWCn6PcpNAaMnXWikn9eGbUkkMu5/balances", "$...balances[[?(@property==='currency' && @.match('ELS'))]^", "@

@gadget78
Copy link
Author

gadget78 commented Sep 8, 2021

YES !!! thankyou... that worked .. i can see HOW and why now... easy when you shown hey !
Thank you so much, from the crypto world of XRP !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants