Version: 0.1.0
**Description:**
A Flask-based web application that allows users to search for blacklisted users in the r/Fallout76Marketplace community.
- Search functionality to identify blacklisted users.
- Integration with PlayStation Network (PSN) using
psnawp. - Management of blacklisted users via Trello using
py-trello.
- Python 3.11 or higher
- Flask 3.1.0 or higher
- Gunicorn 23.0.0 or higher
- psnawp 2.1.0 or higher
- py-trello 0.20.1 or higher
- python-dotenv 1.0.1 or higher
-
Clone the repository:
git clone https://github.com/yourusername/fallout76marketplaceblacklistsearch.git cd fallout76marketplaceblacklistsearch -
Create and activate a virtual environment:
python3.11 -m venv .venv source .venv/bin/activate # On Windows, use 'env\Scripts\activate'
-
Install the dependencies:
pip install -r requirements.txt
-
Set up environment variables:
Create a
.envfile in the project root directory and add the following variables:NPSSO_COOKIE=<placeholder> TRELLO_API_KEY=<placeholder> TRELLO_API_SECRET=<placeholder> TRELLO_TOKEN=<placeholder> TRELLO_TOKEN_SECRET=<placeholder> XAPI_KEY=<placeholder>
Replace the placeholder values with your actual credentials.
-
Run the Flask application:
flask run
The application will be accessible at
http://127.0.0.1:5000/. -
Deploying with Gunicorn:
For production environments, it's recommended to use Gunicorn:
gunicorn -w 4 app:app
This command will start the application with 4 worker processes.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License.
- Flask - The web framework used.
- psnawp - PlayStation Network API Wrapper.
- py-trello - Trello API Wrapper.
For more detailed information on setting up a Flask project, you can refer to this Flask project template.