With the API, you can use Mink on the command-line or in scripts.
Read the documentation at: https://ws.spraakbanken.gu.se/docs/mink
Note that you must authenticate each HTTP request with a JSON Web Token (JWT, read more at https://jwt.io/):
- In the browser, log in at https://spraakbanken.gu.se/mink
- Open https://sp.spraakbanken.gu.se/auth/jwt to download the token in plain text
- Use the token in the request header as:
Authorization: Bearer <token>
- The token is valid for a few hours. When it expires, repeat these steps.