Quick Start
Get your API keys
Make your first request
fetch("https://api.gwapes.com/items")
.then((res) => res.json())
.then((json) => {
console.log(json)
}).catch((e) => console.log(e))import asyncio
import aiohttp
from typing import List
async def request_items() -> List:
url = 'https://api.gwapes.com/items'
async with aiohttp.ClientSession() as session:
async with session.get(url) as response:
data = (await response.json())['body']
return data
async def main() -> None:
data = await request_items()
print(data, sep='\t')
if __name__ == '__main__':
asyncio.run(main())Last updated