uberfastman / yfpy

Python API wrapper for the Yahoo Fantasy Sports public API (supports NFL, NHL, MLB, and NBA).
https://pypi.org/project/yfpy/
GNU General Public License v3.0
163 stars 44 forks source link

Error authorizing: "Developers: Please specify a valid client and submit again." #28

Closed mounttam closed 1 year ago

mounttam commented 1 year ago

Yahoo produces an error in the browser when trying to create the token.json file: Developers: Please specify a valid client and submit again.

Screenshot

My code:

from yfpy.query import YahooFantasySportsQuery
auth_dir = "."
query = YahooFantasySportsQuery(
    auth_dir, league_id="MY_LEAGE")
query.get_current_game_info()

Thanks!

mounttam commented 1 year ago

This happens when you don't choose Confidential Client

uberfastman commented 1 year ago

@brnwx thanks for the update!