- Create a Python virtualenv (
python3.8 -m venv pyenv
) - Install dependencies (
pip install -r requirements.txt
)
- Install the Remote - Containers Extension (
ms-vscode-remote.remote-containers
). You may need to run Docker Desktop. - In the command palette, run Remote-Containers: Open Folder in Container... and select the main repository folder.
- Create an application at https://www.bungie.net/en/Application to get an API key, client ID, and client secret.
- Choose "Confidential" for the OAuth Client Type
- Choose "Private" for the Application Status
- Check the following OAuth Scopes:
- Read your Destiny 2 information (Vault, Inventory, and Vendors), as well as Destiny 1 Vault and Inventory data.
- Set the redirect URL to https://127.0.0.1/
- Create config.ini and populate it with your values of "api_key", "client_id", and "client_secret" (See sample-config.ini for a list of used configurations.)
- Run sample.py and follow the instructions to supply the oauth code.
- Enter the screen name of the account you are using to check the vendors.
- The script will check the today's inventory of Banshee-44 for mods not in collections.
- Create an application at https://www.bungie.net/en/Application to get an API key and client ID.
- Set the redirect URL to https://127.0.0.1/
- Create config.ini and populate it with your values of "api_key", "client_id", and "client_secret" (See sample-config.ini for a list of used configurations.)
- Create a discord bot at https://discord.com/developers/applications
- Add the bot's token to config.ini
- Get a user authorization token if you want mod checking functionality (necessary for vendor checking and comparing inventory as far as I know)
- Run client.py
Honestly, not positive right now, but for mod checking, the following needs to be done:
- Check both Banshee-44 vendor and Ada-1 (and possibly seasonal vendors in the H.E.L.M.)
- Add a web page and proper oauth handling so that the code does not need to be manually pasted
- Figure out oauth refresh tokens so that authentication doesn't only last 1 hour
- Containerize the process so that we don't need to modify files if deploying the process to a Cloud vendor
For Item info, the following would be beneficial:
- Adding ability to see weapon slot
- Adding perks information