Skip to main content

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.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

warframe_market_py-1.0.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file warframe_market_py-1.0.1.tar.gz.

File metadata

  • Download URL: warframe_market_py-1.0.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for warframe_market_py-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dfcccf7e585da812adbcac9f7ef15e899b79560846dec3d396a8e92cc99e7d2f
MD5 356feb764ce2420081769041af589cc4
BLAKE2b-256 80b84112bdb0218c15904519bebabc8a47825b0af3c9e672dfa3b93bf35790e3

See more details on using hashes here.

File details

Details for the file warframe_market_py-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for warframe_market_py-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f17dfc6331d6eb40da778ee28f8ac8538fc817f70dcac035d3ba5486f7ee67dc
MD5 2c74adeb2881a10bebfaf52fbde46cdb
BLAKE2b-256 7747b414b9a68d67542598e96a7f7bbf87f5ce597fd51902cfaa37e272cee20f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page