pcheck is a user-friendly command-line tool designed to retrieve information about pins and boards from a Pinterest user's profile. The application aims to simplify the process of tracking changes, monitoring activities, and obtaining relevant data from specific boards and pins on Pinterest. It provides users with a quick and convenient way to access the information they are interested in.
-
Information Retrieval: Obtain detailed data about pins and boards associated with a Pinterest user account.
-
Sync Changes: Keep track of updates and changes in the specified boards and pins.
-
User-Friendly Interface: pcheck is designed for ease of use, allowing users to quickly gather the information they need.
Before using pcheck, make sure you have the following installed:
-
Clone the repository to your local machine:
git clone https://github.com/your-username/pcheck.git
-
Navigate to the project directory:
cd pcheck
-
Install the required dependencies:
pip install -r requirements.txt
python main.py <action> -id <identifier> [-a <access-token>] [-l <log-level>]
-
<action>
: Specify the action to perform. Available options:board
: Retrieve information about a specific board.pin
: Retrieve information about a specific pin.user_boards
: Retrieve information about boards associated with a user.user_pins
: Retrieve information about pins associated with a user.
-
-id, --identifier <identifier>
: Identifier of the board or pin. Required for all actions. -
-a, --access-token <access-token>
: Access token for Pinterest API. Optional. -
-l, --log-level <log-level>
: Set the logging level. Options: "1" (DEBUG), "2" (INFO), "3" (WARNING), "4" (ERROR), "5" (CRITICAL). Default: "2" (INFO).
-
Retrieve information about a specific board with identifier "12345":
python main.py board -id 12345 -a <your-access-token>
-
Retrieve information about a specific pin with identifier "67890":
python main.py pin -id 67890 -a <your-access-token>
-
Retrieve information about boards associated with a user:
python main.py user_boards -id <user-identifier> -a <your-access-token> --log-level 3
-
Retrieve information about pins associated with a user:
python main.py user_pins -id <user-identifier> -a <your-access-token>
Ensure to replace <your-access-token>
and <user-identifier>
with your actual Pinterest API access token and user identifier. Adjust other parameters as needed for your specific use case.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.