status-mobile
status-mobile copied to clipboard
🔑 Coin Market Cap API Integration - Design a Model for Real-time Caching
trafficstars
Design a model to cache coin market cap data on proxy in real time
- Return this cache to client on a GET API
- The GET route should be optimised for being polled on
- The shape of the API should match that of Coin Market Cap so the user can opt out easily (and use her own endpoint)
Acceptance Criteria:
- [ ] The API returns the cached data avoiding calls to CMC api
- [ ] The GET route is optimized for polled data
- [ ] The API shape matches the Coin Market Cap API
- [ ] Users can opt out of the API and use their own endpoint
Notes
- In future, we want this API to be searchable by TOKEN Name or Ticker
- Check if CMC or CoinGecko api has filtering criteria
- If yes, replicate it in our API
- If not, raise it here.