Skip to main content

API for warframe market.

Project description

pywmapi

github action packaging test badge pypi package version badge pypi python version badge license badge star badge

PYthon Warframe Market API(pywmapi)

🔥 API for warframe market, written in Python.

"Thank you tinsuit, a fine trade. Transaction complete, haha!" -- Maroo

For now, the implemented function is listed below:

  • auth
    • sign in
    • register
    • restore password
  • items
    • list all tradable items
    • get info about an item
    • get list of orders of an item
  • statistics
    • get statistics of an item
  • profile
    • create an order
  • Liches
    • list all lich weapons
    • list all lich ephemeras
    • list all lich quirks
  • rivens
    • list all riven items
    • get a list of riven attributes
  • auctions
    • create auction
    • get a list of riven auctions by given search params
    • get a list of lich auctions by given search params
  • auction entry
    • get info about auction by auction id
    • get auction bids by auction id

Feel free to make any issue or PR! 😊

Installation

pip install pywmapi

The version of Python MUST >= 3.7 since dataclasses is used.

Guidance

package of pywmapi is structured as:

.
├── auth
├── common
├── items
├── lang
└── statistics

For authentication, look up the auth package.

For items maniplation, look up the items package.

For getting statistics of items, look up the statistics package.

💪 More functionalities is coming!

🏗️ Better documentation is under construction!

The param url_name of some functions is regarded as the unique name for each item. For instance, if I search for the item Chroma Prime Systems on warframe market, the url for this page become https://warframe.market/items/chroma_prime_systems. And the last part of this url string is exactly the url_name for this item, i.e. chroma_prime_systems!

Another way to get url_name for an item is through the items.list_items() function.

Examples

To list all of the tradable items:

import pywmapi as wm

wm.items.list_items()

To get the info for any item with its url_name:

import pywmapi as wm

wm.items.get_item("chroma_prime_systems")

To get the orders of a specific item:

import pywmapi as wm

wm.items.get_orders("chroma_prime_systems")

To get the statistics of historical prices of any item:

wm.statistics.get_statistic("chroma_prime_systems")

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

pywmapi-1.0.0.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

pywmapi-1.0.0-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

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