Spaces:
No application file
No application file
radium
#1
by nastaseshot - opened
radium_scraper.py
import requests
def fetch_new_radium_tokens():
"""
Fetches newly listed tokens from Radium.
Returns:
list of token metadata dicts
"""
url = "https://api.radium.io/v1/new-tokens" # hypothetical
try:
response = requests.get(url)
response.raise_for_status()
return response.json().get("tokens", [])
except Exception as e:
print(f"[RadiumScanner] Error fetching tokens: {e}")
return []