To use the API, sign in and create a token under Profile → API access (administrators only), then click Authorize below and paste it. Choose a read-only token unless the program has to change data.