apple-device-specs
Python client for the Apple Device Specs API by LorisLabs — detailed specs, feature badges, pricing, and depreciation estimates for every Apple device.
Install
pip install apple-device-specs
Quick start
from apple_device_specs import AppleDeviceAPI
# Initialize with your API key (omit for free-tier access)
client = AppleDeviceAPI(api_key="your_api_key_here")
# Look up a device by hardware identifier
device = client.get_device("iPhone16,1")
print(device["name"]) # iPhone 15 Pro
print(device["chip"]) # A17 Pro
print(device["released"]) # 2023-09-22
# Search by name
results = client.search("MacBook Pro 14")
for d in results["devices"]:
print(d["identifier"], d["name"])
# List all iPhones (paginated)
page = client.list_devices(category="iPhone", page=1, limit=20)
# Get feature badges for a device
features = client.get_features("iPhone16,1")
print(features["features"]) # ["USB-C", "MagSafe", "Face ID", "5G", ...]
# Get current depreciation estimate
value = client.get_value("iPhone16,1")
print(value["estimatedValue"])
# Get pricing across storefronts
pricing = client.get_pricing("iPhone16,1", storefront=["US", "GB", "FR"])
# API stats
stats = client.get_stats()
print(stats["deviceCount"])
# Use as a context manager — connection closes automatically
with AppleDeviceAPI(api_key="your_api_key_here") as api:
mac = api.get_device("Mac14,5")
print(mac["name"])
Pricing
| Tier | Price | Rate limit |
|---|---|---|
| Free | $0 | 100 req/day |
| Pro | $9.99/mo | 10,000 req/day |
| Business | $49.99/mo | 100,000 req/day |
Get an API key at api.lorislab.fr/docs/#pricing.
Docs
Full API reference: api.lorislab.fr/docs/
License
MIT
Metadata
Release files for apple-device-specs 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| apple_device_specs-1.0.0.tar.gz | 2.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apple_device_specs-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / apple_device_specs-1.0.0.tar.gz
| Download URL | apple_device_specs-1.0.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3e2cd8889054c07297a35cf4988d59f31cba6c9169da472443e5876006b1be1
|
|
BLAKE2b-256 checksum How to use checksums |
765a444d9863e8c49a3ae289ebd9f008d0b5952668a461a0f8cb6eb9c0f48049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / apple_device_specs-1.0.0-py3-none-any.whl
| Download URL | apple_device_specs-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a1cd3670820ff8c139620b24b52d5103690d0864811f5631fb5c31e9b0cce887
|
|
BLAKE2b-256 checksum How to use checksums |
435791f80e5ea9c87c3723ad5950156b72fdc679435c98a284cb9021a71ac358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for apple-device-specs 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.