API Reference

Logging In

Log in with the exact same syntax as the regular coc.py client.

coc.ext.discordlinks.login(username: str, password: str, loop: asyncio.events.AbstractEventLoop = None)coc.ext.discordlinks.DiscordLinkClient

Eases logging into the API client.

For more information on this project, please join the discord server - <discord.gg/Eaja7gJ>

You must have your username and password as given on the server. If unsure as to what this means, please reach out to an admin.

Parameters

Example

from coc.ext import discordlinks

client = discordlinks.login("username", "password")

With the returned instance, you can complete any of the operations detailed below.