Skip to content

This project demonstrates the usage of the JSONPlaceholder API by making HTTP requests and retrieving data from various endpoints. It is implemented in Python using the requests library.

Notifications You must be signed in to change notification settings

radman-s/REST_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

JSONPlaceholderAPI

This project demonstrates the usage of the JSONPlaceholder API by making HTTP requests and retrieving data from various endpoints. It is implemented in Python using the requests library.

Installation

  1. Clone the repository to your local machine:https://github.com/radman-s/REST_API
  2. Navigate to the project directory: cd JSONPlaceholderAPI
  3. Install the required dependencies: pip install requests

Usage

  1. Run the main.py script: python main.py
  2. You will be prompted to choose an endpoint:
  • Enter 1 to display users information.
  • Enter 2 to display comments information.
  • Enter 3 to display albums information.
  • Enter 4 to display photos information.
  • Enter 5 to display todos information.
  1. The corresponding data will be retrieved from the JSONPlaceholder API and displayed on the console.

Acknowledgements

About

This project demonstrates the usage of the JSONPlaceholder API by making HTTP requests and retrieving data from various endpoints. It is implemented in Python using the requests library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages