An asynchronous Python wrapper for Warframe.Market API
Project description
warframe-market.py
Warning: This project is still in development and is not yet ready for production use.
Warframe Market API for Python
Installation
pip install warframe-market.py
Usage
import asyncio
from warframe_market.client import WarframeMarketClient
from warframe_market.api.item import Items, Item
async def main():
async with WarframeMarketClient() as client:
# Get all items in English
items = await client.get(Items)
for item in items.data:
print(item.i18n["en"].name)
# Get a single item
item = await client.get(Item,"nova_prime_set")
print(item)
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.close()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
warframe_market_py-1.0.2.tar.gz
(10.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file warframe_market_py-1.0.2.tar.gz.
File metadata
- Download URL: warframe_market_py-1.0.2.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6e78e83dc2d5988eb099988c1b818af02817e881cbd420570c75d189273526d
|
|
| MD5 |
160bc98e7dde64ceec1fda31037c5271
|
|
| BLAKE2b-256 |
74687e4ec46f048ed06260be639a39ad8045b027698b5b572c8abc9a32afc1e2
|
File details
Details for the file warframe_market_py-1.0.2-py3-none-any.whl.
File metadata
- Download URL: warframe_market_py-1.0.2-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bd8a0977bb5f3646469a64f8e8726fb09553b8fee1eea8934baa48b8ba9f27b
|
|
| MD5 |
bbf8a55f04fd02eaa03ac5e433fb3a19
|
|
| BLAKE2b-256 |
a912ffee49d49865bfdbd3fd47579aac4b54554194f10f4d9e4521be47a1f5eb
|