Finish authorization with a code
fantasy_authorizeAuthorize your Yahoo Fantasy Baseball account using the verification code from Yahoo. Automatically detects and lists your leagues, setting a default when only one exists.
Instructions
Complete setup using the verification code Yahoo displayed after the user approved access. Optionally also accepts clientId/clientSecret. On success it lists the user's leagues and sets a default automatically when there is only one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The verification code from Yahoo — leave blank if you clicked the authorization link (the code is captured automatically) | |
| clientId | No | Yahoo Client ID, if not already saved | |
| clientSecret | No | Yahoo Client Secret, if not already saved |