Sign in Auf Deutsch umschalten

API

Pixelshelf has an open JSON API. The catalog can be read without signing in; for your own collection you need an API key from your Account.

Catalog (no key)

RequestReturns
GET /api/plattformenall platforms
GET /api/spiele?q=mario&plattform=8&seite=1games, 50 per page
GET /api/spiele/{id}one game with editions and average rating
GET /api/releases?ean=4006381333931editions for a barcode

Your collection (with key)

Header: Authorization: Bearer <key>

RequestEffect
GET /api/sammlungall your items
POST /api/sammlungAdd item
GET /api/sammlung/{id}one item
PATCH /api/sammlung/{id}change fields
DELETE /api/sammlung/{id}Remove item

Example

curl -X POST https://pixelregal.app/api/sammlung \
  -H "Authorization: Bearer DEIN_SCHLUESSEL" \
  -H "Content-Type: application/json" \
  -d '{"release_id": 12, "zustand": "B", "hat_box": true, "hat_anleitung": true, "kaufpreis": 24.90}'

Condition: A (like new) to E (broken). Without Apache rewrite, the address is https://pixelregal.app/api/index.php/sammlung.