Skip to main content

TOKEN

Constant TOKEN 

Source
pub const TOKEN: &str = "\
## Get an OAuth token

1. Create an application at https://oauth.yandex.ru/client/new — pick
   **For API access or debugging**, and grant `tracker:write` for full access
   or `tracker:read` to stay read-only.
2. Copy the application's **ClientID** from its page.
3. Open `https://oauth.yandex.ru/authorize?response_type=token&client_id=<ClientID>`
   and sign in. The token comes back in the address bar you land on.

**Stay on one domain for both steps.** `oauth.yandex.com` works too, but it is a
separate origin with its own cookies, so your browser may be signed in there as
somebody else — or as nobody. An application created under one account and
authorised under another produces a token for the wrong person, and the first
sign of it is `auth status` naming a stranger.

It looks like `y0__xAbc...`, roughly 60-90 characters.

Docs: https://yandex.ru/support/tracker/en/api-ref/access
";
Expand description

How to obtain an OAuth token.