Requirements of the CamelCamelCamel API

Understand the functional and non-functional requirements for the CamelCamelCamel API service.

Introduction to the CamelCamelCamel API

In e-commerce, customers are inquisitive to know when a price drop occurs for a specific product. Customers cannot regularly examine a product to track price changes. So, they are notified via price drop alerts (to entice customers to buy things) when the price of a specific product has decreased. The CamelCamelCamel API (referred to as C3 in further discussion) provides a price drop alert service for customers interested in buying products on Amazon. We'll analyze and discuss the workflow and operations of the C3 service because designing a C3 API requires us to properly understand the service's core functionality.

To provide these services to the clients, C3 uses the product advertising API (PA-API) of Amazon. Most of the features, such as customer reviews, product promotions, items for sale, seller reviews, product prices, and much of the data that Amazon uses, are accessible through this API. C3 can access Amazon’s databases and benefit by using the PA-API.

Let's start by identifying the requirements for the C3 API.

Requirements

This section discusses all the functional and non-functional requirements to design a C3 API.

Functional requirements

  • Search product: The C3 API service should allow users to search for a specific product.

  • Price timeline: The service should allow users to obtain a price timeline of the products.

  • Add to price watch: The user should be able to add a product to the price watch list by defining the target price and get notifications when the product’s price drops.

  • Get watch list: The user can add multiple products to the price watch list. The service should allow users to see their price watch list.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy