Skip to content

Instantly share code, notes, and snippets.

@cqtsma2
cqtsma2 / anu_qrn.py
Last active January 3, 2025 20:52
ANU Quantum Numbers API examples
#!/usr/bin/python3
import json
import requests
QRN_URL = "https://api.quantumnumbers.anu.edu.au/"
QRN_KEY = "txxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx7" # replace with your secret API-KEY
DTYPE = "uint8" # uint8, uint16, hex8, hex16
LENGTH = 10 # between 1--1024