Profile managment
This section of the API is responsible for handling user profiles, authentication using tokens, and subscription management.
Authentication via Auth0
User authentication is managed by the third-party service Auth0 by Okta. No passwords or emails are stored in this API. Utilizing Auth0 ensures enhanced security, and user information is stored on a server in Europe. For more details on account management, please refer to the Auth0 website.
Info
Currently, the documentation does not cover managing an Auth0 account exclusively through the API. Only management via the website is currently supported.
User Profile
Tokens
Tokens are used for authentication and accessing lottery endpoints. Profile management allows for creating, and deleting these tokens.
Create profile tokens
To create a token:
- Register to the website https://www.lotteryresultsapi.com with the Register button (you can use Google or Github account to authenticate).
- Once registered, you'll be redirected to your profile page where you can view various account information.
- On the right, a form allows you to create a token that will be used for the API.
- Enter a token name (e.g., myToken)
- Press the Create button
Once done, a message will indicate the secret that you'll use in API calls. Note that the value is displayed only once. If you forget the secret, you can delete it and create a new token.