bot-me / a.py
Mohammed Foud
allh
80d4bc1
raw
history blame contribute delete
446 Bytes
import asyncio
from fivesimapi import fivesim
api_key = "YOUR_API_KEY" # Replace with your actual API key
async def main():
client = fivesim.FiveSim(api_key)
country = "any" # You can specify a country code like 'us', 'ru', etc.
products = await client.get_products(country)
for product in products:
print(f"Product: {product['product']}, Price: {product['cost']}, Available: {product['count']}")
asyncio.run(main())