flipsidecrypto⚡️ LQ / ApiLayer LiveQuery Function Guide
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
›
-- ApiLayer 🤝 Flipside LiveQuery Function Guide
-------------------------------------------------------------------------
-- The ApiLayer LiveQuery integration enables you to interact with
-- any ApiLayer API endpoint directly in SQL.
-- -----------------------------------------------------------------
-- 🚨 WARNING 🚨
-- To run these examples you must associate your ApiLayer API Key
-- with your Flipside Account here:
-- https://flipsidecrypto.xyz/livequery/apilayer
-- ======================================================================
--
-- ⚡️ ApiLayer Functions
-- schema: `apilayer`
-- function docs: https://apilayer.com/docs/article/getting-started
--
-- ======================================================================
--
-- #️⃣ apilayer.get('url', 'query args')
-- Issue a 'GET' request to the ApiLayer API
--
-- examples:
--
SELECT apilayer.get('/odds/sports', {}) as resp
Run a query to Download Data