This simple application uses the Agify API to predict the probable age of a person based on their name. The user interface is created with PyQt5 using the requests
module to make requests to the Agify API.
-
User-Friendly Interface: A simple interface with a text field to enter a name, a button to get the age prediction, and a space to display the result.
-
Age Prediction: Uses the Agify API to estimate age based on the entered name.
-
Clone the repository:
git clone https://github.com/klaynight-dev/name_api_requests_app.git cd name_api_requests_app
-
Install dependencies:
pip install PyQt5 requests
-
Run the application:
python main.py
-
Enter a name in the text field and click the "Get Age" button to see the age prediction.
- You can customize the style of the user interface by modifying the style sheets in the code.
- Make sure to have the necessary libraries installed using
pip install PyQt5 requests
before running the application.