Results 1 to 4 of 4

Thread: What are valid LabelIds for Clan search?

  1. #1
    Trainee
    Join Date
    Sep 2019
    Location
    Finland
    Posts
    17

    What are valid LabelIds for Clan search?

    Clan search API contains a new query parameter `LabelIds` and documentation for it says:
    Comma separatered list of label IDs to use for filtering results.
    Valid clan label ids are:
    Code:
    Id: 56000000, name: Clan Wars
    Id: 56000001, name: Clan War League
    Id: 56000002, name: Trophy Pushing
    Id: 56000003, name: Friendly Wars
    Id: 56000004, name: Clan Games
    Id: 56000005, name: Builder Base
    Id: 56000006, name: Base Designing
    Id: 56000007, name: International
    Id: 56000008, name: Farming
    Id: 56000009, name: Donations
    Id: 56000010, name: Friendly
    Id: 56000011, name: Talkative
    Id: 56000012, name: Underdog
    Id: 56000013, name: Relaxed
    Id: 56000014, name: Competitive
    Id: 56000015, name: Newbie Friendly
    But when sending one or more of those in a clan search the result is always:

    Code:
    {
        "reason": "unknownException"
    }
    If I use values that are out of clan label id range I get the result from API call but only for those clans that have labels empty.

    Anyone have any idea what LabelIds should be in the search so that the API returns clans that have those labels set?
    Last edited by tparviainen; 3 Weeks Ago at 11:24 AM.
    .NET Standard library for Clash of Clans API @ https://github.com/tparviainen/clashofclans

  2. #2
    I've had no luck figuring this one out. Every combination I've tried with requests results in either a 400 status code or a 500 status code.
    Clash Ninja - Upgrade Tracker and Guides
    https://www.clash.ninja - Forum Thread

  3. #3
    Trainee
    Join Date
    Sep 2019
    Location
    Finland
    Posts
    17
    Yes it seems that the label ID filtering functionality is not working (ATM) at all :-(
    .NET Standard library for Clash of Clans API @ https://github.com/tparviainen/clashofclans

  4. #4
    Trainee
    Join Date
    Sep 2019
    Location
    Finland
    Posts
    17
    FYI, this is now fixed in the SC API.
    .NET Standard library for Clash of Clans API @ https://github.com/tparviainen/clashofclans

Posting Permissions

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