Page 1 of 2 12 LastLast
Results 1 to 10 of 12

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 - Forum Thread

  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 !!!

  7. #7
    Centennial Club RepeaterCreeper's Avatar
    Join Date
    Jan 2015
    Location
    United States
    Posts
    123
    Yes, these features would be awesome. Though I doubt we'd get any of these soon.

  8. #8
    Centennial Club sowad's Avatar
    Join Date
    Feb 2015
    Location
    Canada
    Posts
    129
    API has a lot of potential and supercell pretty much did nothing to it after giving us access to it.

    No one even bothers looking at the threads in this section. No mods/game specialists/community manager.

    Wishing that it changes this christmas. I will probably ask Darian about the API when he does a AMA again.

    Join us for the biggest yearly event! Forum Elite, more info - check this thread
    Our Discord Server - https://discord.gg/zYWJKkj

    Watch the story of my hero, GSP - https://www.youtube.com/?v=NJw_RINI_IA

  9. #9

    Join Date
    Sep 2014
    Location
    Digging another tunnel in the data mine
    Posts
    6,613
    Quote Originally Posted by sowad View Post
    No one even bothers looking at the threads in this section. No mods/game specialists/community manager.
    Really?

    But I don't have any more influence over SC than you do. We GASPs don't have any real technical status, it's more just a badge to guide new people to the forum that we're experienced and reasonably sensible
    Various data posts: Who plays what? CWL data 1 (stars), 2 (3* rates), 3 (rosters), 4 (start times and other) Data at end of old Legends And (non-data) how max bases are ordered in war
    --------------------
    Forum cup organiser. The forum cup discord server is: https://discord.gg/KEUxV2e

  10. #10
    Hi, My biggest thing not currently mentioned is the delay in getting war updates on the currentwar endpoint. 10 minutes is so long when clans can spin again and the end of the war is lost in the stats. Also during wars this is really long time to get updates especially at the start and end when there is a lot more action.

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
  •