Examples of QRadar API using Python and PowerShell (PowerShell Core as I needed to use the SkipCertificateCheck switch for our test environment).
All examples are utilized with IBM QRadar Community Edition running on CentOS Minimal
- Ariel
- searches
 - List Databases
 
 - Offenses
 - Reference Data
- 
Reference Sets (The only reference collection you can manage in the web console)
 - 
Reference Maps
 - 
Reference Map of Sets
 - 
Reference Map of Maps (incomplete)
 - 
Reference Table (incomplete)
 
 - 
 
function: REFERENCESETCONTAINS
SELECT DATEFORMAT(starttime,'YYYY-MM-dd HH:mm:ss') as 'Date',
       sourceIP, destinationIP, username
FROM events
WHERE REFERENCESETCONTAINS('DEMO_UserName',username)function: REFERENCEMAP
SELECT username, count(*),
       REFERENCEMAP('DEMO_MAP',LOWER(username)) as Full_Name_Of_User
FROM events
GROUP BY username