This GitHub project, led by Denis Tadzhibaev, was initiated by a team under his leadership at RedRoverSchool. Contributors:
The website PetStore is a demonstration site that serves as an interface for working with a pet store API.
The main purpose of the Petstore Swagger site is to provide an example API and documentation on how to use it. The site utilizes Swagger UI to allow users to explore and test various API endpoints.
On the Petstore Swagger website, you can perform the following actions:
-
Browse available API operations: You can browse the list of available API endpoints and familiarize yourself with the provided operations. This may include creating, updating, deleting, and retrieving information about pets, orders, and other resources.
-
Test the API: You can use Petstore Swagger to execute test requests to the API and verify its functionality. You can input request parameters, send requests, and view the received responses.
-
Explore API documentation: The Petstore Swagger site provides documentation that describes the available endpoints, request parameters, expected responses, and other information to help you use the API correctly.
-
Explore code examples: Petstore Swagger also provides code examples for various programming languages that will assist you in getting started with the Petstore API. The code examples demonstrate how to make requests to the API and handle the received data.
-
Clone repository to your machine.
-
Navigate to the root folder of the project.
-
Create a virtual environment.
-
Run command pip install -r requirements.txt
-
After, execute pytest -s -v to run tests.