Finance data displayed in table
Connecting to the MS Finance API to get a list of stocks that have had recent price increases. We have integrated the API data with wpDataTables to create this table.
This is done with the PRO Plugin and simply requires the click of a button and the API data is instantly connected to a dynamic HTML table.
|AMC||1.45||256,918,794||0P00011H0G||AMC Entertainment Holdings||XNYS||32.95||5.85|
|SDA||2.71||1,833,741||0P0001R0YT||SunCar Technology Group||XNAS||22.12||14.96|
|MNSO||1.79||2,145,739||0P0001KVGG||MINISO Group Holding Limited||XNYS||9.65||20.34|
Live Bitcoin Price from Binance API
We are connecting to the Binance API to get the latest Bitcoin price and have formatted it in a box using some very simplg HTML and CSS.
Using CSS, this could literally be styled anyway you decide.
Displaying Quotes from Quotable API
Here we are connecting to the Quotable API to return a random quote and again we are simply formatting it using some HTML and CSS.
Qith some CSS magic, it can look however you decide.
Display API Data as Chart
We are again connecting to the Binance API to get the high and low prices of Bitcoin over the last 2 days and then displaying this using the wpDataTables plugin.
Our PRO plugin can connect to a wpDataTable with the click of a button. The table can then easily be made into any type of chart you can imagine.
Send dynamic data to an API
Use the dropdown on the form to choose a cryptocurrency and this will be sent to the Binance API to retrieve the current price of that particular coin.
We're using Tokens to capture the coin you choose on the form and then send this to the API.
The form is built with Gravity Forms and is using AJAX to post the form.
Current Weather in London
Display Current Weather from API
Using WeatherAPI from RapidAPI, we are getting the current weather for London, UK. This API supplies all the data we need including the icons for sunny, cloudy etc. and we have simply styled it using HTML and CSS.
We are using the template tag method to get this data and display it.