From 2c17b6db820d7c591e8c7ac3fa322810ae33a1c9 Mon Sep 17 00:00:00 2001 From: Oskar <35903570+OskarHofmann@users.noreply.github.com> Date: Fri, 16 Aug 2024 00:18:09 +0200 Subject: [PATCH] Update README.md --- README.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f547b4..c4a207c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,40 @@ # WarframeModSeller Script to check for the most profitbale augmentation mods of a syndicate in the game Warframe and automatically sell them via WarframeMarket --work in progress- +While I made this project mainly to sell syndicate mods and find the most profitable to sell at a given moment, this project can be used to evaluate and sell most Warframe items. For a more general library for the WarframeMarket API, check out the library from [AyajiLin](https://github.com/leonardodalinky/pywmapi). + +## How to use +The example in main.py should give a good overview on how to use this project. To break it down: + +https://github.com/OskarHofmann/WarframeModSeller/blob/f5c896600540c3d089214a1ac6937f91e0514f86/main.py#L12 +uses the Warframe Wiki to read out all the augmentation mods from the given syndicate (here Red Veil). `mods` is just a list of mod names (as strings), so one can easily exchange this for other mods/items if needed. +

+ +https://github.com/OskarHofmann/WarframeModSeller/blob/f5c896600540c3d089214a1ac6937f91e0514f86/main.py#L13-L14 +converts the mod/item names into `MarketItems` which allows to keep track of the WaframeMarket URL and ID of these mods/items. +

+ +https://github.com/OskarHofmann/WarframeModSeller/blob/f5c896600540c3d089214a1ac6937f91e0514f86/main.py#L18 +uses the `SalesStrategy` `SellMostProfitable` to determine the current cheapest price of all given market items and determine the most profitable (i.e. most expensive) ones. +

+ +https://github.com/OskarHofmann/WarframeModSeller/blob/f5c896600540c3d089214a1ac6937f91e0514f86/main.py#L21 +uses the `SalesAgent` `ManualSales`. This agent just prints the identified items to sell together with their price to the console. This line is not needed if the `AutomaticSales` agent is used. +

+ +https://github.com/OskarHofmann/WarframeModSeller/blob/f5c896600540c3d089214a1ac6937f91e0514f86/main.py#L24-L32 +logs into an existing WarframeMarket account, which is needed for automatically listing the sales on WarframeMarket. The user must provide a .env file (the full filename should be ".env" without anything in front of the dot) in the same folder to provide the login credentials to Warframe Market. The file should look like this: +> WFM_MAIL=user@domain.com +> +> WFM_PASSWORD=password123 +

+ +Assuming a successfull login +https://github.com/OskarHofmann/WarframeModSeller/blob/f5c896600540c3d089214a1ac6937f91e0514f86/main.py#L34-L35 +creates an `AutomaticSales` agent and lists the items on WarframeMarket +

+ +https://github.com/OskarHofmann/WarframeModSeller/blob/f5c896600540c3d089214a1ac6937f91e0514f86/main.py#L37 +can then be used at the end to clean up the user's listings on WarframeMarket. Each of the user's listing of an item that is in `market_items` but was not listed by the agent in the previous step is deleted. This is especially usefull when selling syndicate mods to cleanup previous listings that are not the most profitable ones anymore. + +