Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 608 Bytes

api-reference.rst

File metadata and controls

29 lines (18 loc) · 608 Bytes
.. current-module:: coc

API Reference

Logging In

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

.. autofunction:: coc.ext.discordlinks.login

Example

from coc.ext import discordlinks

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

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

Discord Link Client

The following is a quick and simple overview of all methods available with the links API.

.. autoclass:: coc.ext.discordlinks.DiscordLinkClient
    :members: