Crates.io | apple_products_parser |
lib.rs | apple_products_parser |
version | 0.1.3 |
source | src |
created_at | 2024-11-12 00:51:59.124883 |
updated_at | 2024-11-14 00:01:14.415617 |
description | A tool that processes detailed data about Apple products(Iphones, MacBooks and IPads) |
homepage | |
repository | |
max_upload_size | |
id | 1444400 |
size | 30,553 |
Crate: https://crates.io/crates/apple_products_parser
Docs: https://docs.rs/apple_products_parser/0.1.3/apple_products_parser/
Apple Product Parser is a simple Rust tool that processes detailed information from JSON about Apple products such as iPhones, MacBooks, and iPads. It extracts key details like product name, price, category, screen size, storage options, available colors, and year of release, and organizes them in a structured format(prints in console as yaml and toml).
The parsed data can be used for analysis, generating reports, or displaying in user interfaces. This project focuses on ensuring the data is accurately processed and made available for further use.
Data Analysis: You can compare prices, storage sizes, screen sizes, and other features of different Apple products
Reports: The parsed data can be used to create reports or dashboards that show information about product availability, trends in product features, and pricing
User Interface Display: The data can be shown on screens where users can filter and sort Apple products by things like price, release year, and screen size
{
"name": "iPhone 15 Pro",
"price": 999.99,
"type": "Smartphone",
"screen_size": "6.1 inches",
"storage": ["128GB", "256GB", "512GB"],
"color": ["Silver", "Graphite", "Gold", "Pacific Blue"],
"date_of_release": "12-09-2023"
"availability": true
},
{
"name": "MacBook Pro 14",
"price": 1999.99,
"type": "Laptop",
"screen_size": "14.2 inches",
"storage": ["512GB", "1TB", "2TB"],
"ram": "16GB",
"color": ["Silver", "Space Gray"],
"date_of_release": "24-10-2023"
"availability": true
}
[[]]
name = "iPhone 15 Pro"
price = 999.99
type = "Smartphone"
screen_size = "6.1 inches"
storage = ["128GB", "256GB", "512GB"]
color = ["Silver", "Graphite", "Gold", "Pacific Blue"]
date_of_release = "12-09-2023"
availability = true
[[]]
name = "MacBook Pro 14"
price = 1999.99
type = "Laptop"
screen_size = "14.2 inches"
storage = ["512GB", "1TB", "2TB"]
ram = "16GB"
color = ["Silver", "Space Gray"]
date_of_release = "24-10-2023"
availability = true
- name: iPhone 15 Pro
price: 999.99
type: Smartphone
screen_size: 6.1 inches
storage:
- 128GB
- 256GB
- 512GB
color:
- Silver
- Graphite
- Gold
- Pacific Blue
date_of_release: 12-09-2023
availability: true
- name: MacBook Pro 14
price: 1999.99
type: Laptop
screen_size: 14.2 inches
storage:
- 512GB
- 1TB
- 2TB
ram: 16GB
color:
- Silver
- Space Gray
date_of_release: 24-10-2023
availability: true