SDKs
Python SDK
Official SDK for Python applications.
Coming Soon
The Python SDK is under development. Use REST APIs directly for now.
View API DocumentationUsing REST APIs with Python
Python / requests
import requests
response = requests.get(
'https://pyrefm.xyz/api/data/weather',
params={'city': 'Istanbul'},
headers={
'x-wallet-address': 'YOUR_WALLET_ADDRESS',
'x-payment-proof': 'BASE64_PAYMENT_PROOF',
}
)
data = response.json()
print(data)