Results 1 to 6 of 6

Thread: [Feature Requests] Wishlist of additions: websocket, buildings, wars and player token

  1. #1

    Lightbulb [Feature Requests] Wishlist of additions: websocket, buildings, wars and player token

    Dear Supercell,

    Your API has the potential to be amazing, to encourage people to pick up programming and to support those who both already do and will use it. Right now it is many years old and showing its age: updates upon updates have gone by with little or no additions to the API.

    Whilst I usually just lurk here, I have compiled and enumerated a list of new additions both the community and I really would love to see. Hopefully this post receives enough visibility that someone...important...reads it.


    1. Some consistency and honest documentation about what is returned, for eg. we have more than 4 different types of players returned based on which method it is called with. Some more information on the lesser ones in order to have just 1 or 2 different types of both players, clans and wars etc. would be amazing
    2. A web socket, webhook or other connection to receive events and transmit data other than HTTP requests is much needed. More on this below
    3. With the apparent unused addition of the Player Token in-game, I have some ideas for its use within the API:
      • Specify your player token, or a list of tokens on a websocket connection to receive events for player, clan and war updates
        • Player events: troop/spell/hero upgraded, building upgraded, joining war, opt in/out of war, achievement completed, etc.
        • Clan events: player join/leave, description updated, war status updated, member promoted, demoted, kicked etc., war status changed etc.
        • War events: prep day start, war start, war end, attacks, defence, when a battle is viewed, etc.

      • Still on the theme of the token, the ability to get building levels for traps and teslas for your village, more on this below.
      • Clan history for a player token and members in their clan
      • Seeing as some of these events have privacy ramifications, similar to the developer token, members should be warned that their token is private and giving it to others could end up bad for them. Have an option to reset the token 

    4. Feature Request - GET /players/{playerTag}/buildings- sharon8811
    5. Feature Request - static data - bodiccea
      • eg. ```{"name": "Lightning Spell", "townHallLevel": 6, "maxLevel": 4}```
      • Personally I'd like to see more info about clan games - clan and player points, different challenges and rewards, an event for the connection talked about above.

    6. Feature Request - See if a player is linked to a clan in clan games - Sakat
    7. War Type - random, friendly, sccwl - speakers
    8. Fix SCCWL and War League endpoints. Please.
      • Add a war tag to all wars - random, friendly or sccwl, and a league tag to current SCCWL season (per clan group)
      • /clans/{clanTag}/currentwar should return current state, optional war tag and league tag.
      • /wars/{warTag} - return info for that warTag, be it in prep, battle or finished
      • /clans/{clanTag}/leagues/{leagueId} - return info for the league season, including player total stars, destruction and attacks, as well as a list of warTags, and total opponent stars/dest/attacks.

    9. War log endpoints
      • War tag, league tag (default null), war type.
      • If you're going to list attacks as a part of this in docs, then give us the attacks, or take it out of documentation
      • Enemy attack count (only given for clan you're searching for atm)


    In addition:
    • Include a changelog documenting *exactly* what gets added or removed, renamed or changed.
    • Include a status page we can ping to get status including average request time and what not
    • Be open about when things are slow - we are fine if you tell us and are open about when you will fix it, but leaving us in the dark is worse, we are led to believe you don't care, and generally get frustrated.
    • Get rid of whitelisted IPs and/or update for IPv4/6 etc. This is a pain for those on a "normal" internet connection with dynamic IPs. Whilst trying to ensure our tokens are secure, this should be up to the user, and if they leak their token, so be it, endure the consequences.


    I will update this as people reply with and I think of new ideas, but that's it for now.

    Please, show the API some love.
    Last edited by mathsman5132; April 13th, 2019 at 04:05 AM. Reason: fix awful formatting

  2. #2
    Fresh Spawn
    Join Date
    Aug 2018
    Posts
    4
    +1 pole, im agree with you

  3. #3
    Agree with you @mathsman5132

    2 more things for SCCWL :
    * Have a way to distinguish a player truly engaged in a war from a player only engaged in the roster... (only when a match has begun, so no cheat available)
    * Have the real total pourcentage destruction (the current percentage takes into account players on the list who are not participating)
    Last edited by MatManaman; April 15th, 2019 at 02:56 PM.

  4. #4
    This would be a long awaited update for all of us. We all know this would be huge for the community.

  5. #5
    These would be some great additions.
    Clash Ninja - Upgrade Tracker and Guides
    https://www.clash.ninja

  6. #6
    Quote Originally Posted by MatManaman View Post
    Agree with you @mathsman5132

    2 more things for SCCWL :
    * Have a way to distinguish a player truly engaged in a war from a player only engaged in the roster... (only when a match has begun, so no cheat available)
    * Have the real total pourcentage destruction (the current percentage takes into account players on the list who are not participating)
    +1 for the real map position in league war, badly needed indeed !

    I didn't understand your second point, only the real pourcentage destruction for a real participant is given. Maybe you meant the total, like @mathsman5132 described in his wishlist's 8th point ?

    all the points in the wishlist are good but the real big lack of the API is stil the same : BUILDINGS !!!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •