This is a simple and very basic app that demonstrates how to hit a crypto exchange public API. This could apply to any open API.
The app lets you compose an API call and see what the exchange returns. You can use a list of available calls or provide your own.
It is easy to add more exchanges and API calls into the source, but it could be made more efficient by parsing a preferences file (CSV or JSON, etc.).
2023.01.01 - v1.7 - No longer crashes if web API input is invalid (e.g., FTX, the exchange, is defunct and its API no longer available)
2021.11.18 - v1.6 - Valid JSON array no longer considered invalid
2021.11.18 - v1.5 -Enhanced Parameters field again; if first character is "/" it will interpret that as a manually-entered Request URL
2021.11.18 - v1.4 -Enhanced functionality for the Parameters field; allows parameters like "bittrex/assets" or "symbols=ETHBTC" or "some/other/api?symbol=SYM"
2021.11.17 - v1.3 - Additional calls for Binance; again, this should probably be done in a preferences file so people can add their own stuff; added a parameters box
2021.11.16 - v1.2 - Results in JSON format now shown in pretty JSON format; truncates very large strings of text from the request result;
2021.11.16 - v1.1 - Fixes bug with CLV management; got rid of drop-downs, the worst UI element ever invented by mankind, change my mind
The app lets you compose an API call and see what the exchange returns. You can use a list of available calls or provide your own.
It is easy to add more exchanges and API calls into the source, but it could be made more efficient by parsing a preferences file (CSV or JSON, etc.).
2023.01.01 - v1.7 - No longer crashes if web API input is invalid (e.g., FTX, the exchange, is defunct and its API no longer available)
2021.11.18 - v1.6 - Valid JSON array no longer considered invalid
2021.11.18 - v1.5 -Enhanced Parameters field again; if first character is "/" it will interpret that as a manually-entered Request URL
2021.11.18 - v1.4 -Enhanced functionality for the Parameters field; allows parameters like "bittrex/assets" or "symbols=ETHBTC" or "some/other/api?symbol=SYM"
2021.11.17 - v1.3 - Additional calls for Binance; again, this should probably be done in a preferences file so people can add their own stuff; added a parameters box
2021.11.16 - v1.2 - Results in JSON format now shown in pretty JSON format; truncates very large strings of text from the request result;
2021.11.16 - v1.1 - Fixes bug with CLV management; got rid of drop-downs, the worst UI element ever invented by mankind, change my mind
Attachments
Last edited: