![]() ![]() can be used to retrieve further information about the league war. This API offers a plethora of benefits for developers looking to enhance their applications or create new ones. ![]() Request the current clan war leagues the clan is participating in. The Clash of Clans API provides developers with access to the game's Clan Search, Global and Local Leaderboards, Clan and Player Profiles, and Leagues. Request current war information by clan tag. Complete the request with a call to fetch(). At least one filtering criteria must be defined and if name is used as part of search, it is required to be at least three characters long.Īll query parameters are supported, simply prepend with and capitalize the first letter of the query param. There is a DSL for performing clan searches. Easy integration with third-party applications. See request options for the full list of supported request options Clan Search Key Features - Asynchronous code - Entire coverage of the official Clash of Clans API - Auto updating tokens for use with dynamic IPs Getting Started. The Clash of Clans API provides developers with access to the game's Clan Search, Global and Local Leaderboards, Clan and Player Profiles, and Leagues. In addition, if you need to pass in any additional options to request (for example to set a proxy) then you can use the request option to do so: import clashApi from 'clash-of-clans-api' Parameters: keycount The amount of keys to use for this client. Token: yourApiToken // Optional, can also use COC_API_TOKEN env variable This is the client connection used to interact with the Clash of Clans API. Pass in a token option when creating the ClashApi objectĮxample: import clashApi from 'clash-of-clans-api' API of COC : r/ClashOfClans r/ClashOfClans 6 mo.Once you get your token, you have two choices. If you like Clash of Clans, an iOS game created by Supercell, then this is the wiki for you Trending. You will need the IP of the host using to connect to the services. You can even advertise your clan to get more members. In order to get started with Clash of Clans API, you need to create an account at and create a key. Just think of it as a means for one application to communicate with a completely separate application via a standardize, agreed upon, middle man. Npm install -save clash-of-clans-api UsageĪll fetches return a promise using request-promise Instantiation API stands for application programming interface. Provides an easy way to get started with the Clash of Clans API Installation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |