Menu

What I learned integrating 25 review platforms into one API
πŸ“°

What I learned integrating 25 review platforms into one API

DEV Community: javascriptΒ·Fran-SopaΒ·3 days ago
#jx9fK7BS
#devtojavascript#devto#dev#platform#every
Reading 0:00
15s threshold

Every review platform looks the same from the outside: a star rating, a text, an author, maybe a reply. Getting at that data looks nothing alike. I spent the last months building Prisma Reviews , a single REST API for reviews, and these are the notes I wish I'd had on day one.

1. There are four kinds of "review API"

Once you've done a few platforms, every one falls into one of four kinds:

Kind Examples How you connect Can you reply?

OAuth, business-owner API Google Business Profile, Trustpilot The owner approves your app Yes

Keys from a developer console App Store Connect, Google Play The owner creates a key and gives it to you Yes

Shop-app tokens Judge.me, Trusted Shops, eKomi, Okendo An API token from the platform's admin Sometimes

No owner API at all Yelp, Tripadvisor, Booking.com Only the public listing URL No: link to the platform

Each kind needs its own onboarding UI, its own error handling and its own way to refresh credentials. If you design for only one, the next one won't fit.

2.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.