Currently, fresh.py reads from three separate configuration files: .config.ini, credentials.json, and praw.ini.
To make initialization easier for new users, I propose we expect a single configuration file, config.ini (no longer hidden), with the following structure:
[spotify]
username = <username>
client_id = <client_id>
client_secret = <client_secret>
redirect_uri = <redirect_uri>
[reddit]
username = <username>
client_id = <client_id>
client_secret = <client_secret>
Note that we request the reddit username as well. This allows us to create a user-agent string that better follows the reddit API rules. (Better user-agent strings will be requested in a separate issue.)
Currently,
fresh.pyreads from three separate configuration files:.config.ini,credentials.json, andpraw.ini.To make initialization easier for new users, I propose we expect a single configuration file,
config.ini(no longer hidden), with the following structure:Note that we request the reddit username as well. This allows us to create a user-agent string that better follows the reddit API rules. (Better user-agent strings will be requested in a separate issue.)