Finished POST /market

200 OK expected response:

Responses:

Query Parameters:

Neil changed the title to Staff Diary: v1.0 .

DEVELOPMENT OF v0.2 HAS CONCLUDED. All messages from this point forward will be related to v0.3

Renamed to Staff Diary v1.0 from v0.2 by @Neil

Neil That’s fair. I like the /notifications idea, but it would also be helpful to know when my recruits are over? Maybe a /activeRecruits that returns a list of active recruits including the troop type and a unix timestamp of the completion time? would also like this as a feature (using discord timestamps) through a command. i don’t know if this is possible with however the bot is coded, but it would be useful

  • Neil replied to this.

    CozmoKitten The bot informs you in DMs when your recruit will end, also you get the usual “Troops Recruited” embed when they’re finished. That is if you’ve got notifications on.

    We’ve pushed out an emergency patch fixing troop types in /recruit. Before this, the endpoint would accept invalid troop types. For now, all the invalid troop types are removed from our queue, compensation will be given if recruit is worth more than 1,000,000 Gold.

    Version: v0.2.1

    • Neil replied to this.

      Neil Along with this, we’ve also lifted some restrictions. You can now recruit with all of your queue slots instead of limiting to 3

      Will of Steel - Patch v1.9.5

      • Fixed /apply not showing
      • Fixed forges not ending
      • Fixed a few /forge bugs

      WoS API - Patch v0.2.1

      • Added CORS headers
      • [Docs] Fixed /player expected response showing a few fields as integer instead of bool.
      5 days later

      Hey! I was working on my API GUI, and I have a couple suggestions for endpoints (including some ideas talked about previously:

      • /inventory: I want this as both an API endpoint and a discord command. It should list all the items I have, including frames, peace birds, tokens, skins, and mystery scroll

      • /market/list: lists all items that can be bought and sold on the market

      • /market/buy_offer & /market_sell_offer & /market/buy_instantly & /market/sell_instantly: I can see why you might not want them, but it would be nice

      • /forge: do forging. Doesn’t seem useful enough to be botted

      • /apply: apply frames

      • /frames: returns applied frames

      • /commanders & /fire & /millitary: commander related commands as on the discord

      • /withdraw & /deposit: add and remove money from alliance bank

        Merged 2 posts from API Endpoint Suggestions .

        @CozmoKitten I have merged your post into here. For any suggestions/feedback please post here.

        CozmoKitten

        • Inventory: Yes, we will be adding it both as an endpoint and a command.

        • Market List: This is already a feature, please check it out here

        • Market Offers: This might be added, might not. Will be talked upon with @primedust

        • Forge: Already being added

        • Application: Already being added

        • Frames: There is no way to see these in the discord bot as of yet, so until then. Not going to be added, afterwards, probably.

        • Commands: Already planned

        • Withdraw and Deposit: Not going to be added till there’s no feature.

          Neil The market endpoint doesn’t list items available on the market, it lists offers and prices. I want an endpoint that returns all item ids that can be listed

          Id also like a food/hour feature and building levels/upgrades to be added

          • Neil replied to this.

            CozmoKitten

            • inventory yes , we’re doing it
            • market and all its subcommands , I believe are already satisfactory enough. We are a discord bot and we would like for our main use to be on , you guessed it , Discord. Of course we’re going to discuss about the availability of other endpoints as per usual , but giving this much access to the api seems very unnecessary.
            • forge, applying are written that are being added to it, as you can see in the earlier posts
            • applied frames , yes its useful but we don’t think adding features to API before it is added on the discord bot.
            • commanders yes, you can check the earlier posts.
            • and withdraw and deposit aren’t yet a feature.

            I know this may feel like an extra comment, but I wanted to add to what Neil said.

            CozmoKitten I don’t think we will be added food/hour as of now since that is calculated dynamically everywhere we use it (/treasure and food addition) and yes, Building Levels and Upgrades will be added.

            4 months later

            WoS API v0.3

            • Added /inventory for retrieving Player’s Inventory/Items
            • Added /army for retrieving player’s army
            • Added /verify (hidden) for verifying key & headers’
            • Added /outpost/list for listing all outposts.

            Documentation for all new endpoints is available at https://api.willofsteel.me.

            WoS API SDK (Python) v0.2

            • Added get_player_inventory() for retrieving player inventory
            • Added get_player_army() for retrieving player army
            • Added recruit_troop() for recruiting a troop
            • Added get_outposts() for retrieving all outposts
            13 days later

            WoS API v0.4

            • Added GET /buildings
            • Added POST /buildings