News for hackers. Stuff that matters.
Re:Ask HN: What REST APIs, in your opinion, deserve an award? by apotheosis-neko on Saturday December 28, 2019 @03:26PM (#21901496)
I have worked with so maaaany APIs. Could definitely say my least favorite without thinking too hard. Favorite is a bit harder.

1. Github. WHY: They keep is consistent across versions and it is easy to work with.

2. Hubspot. WHY: Each object is it's own endpoint, very clear and concise. Short on mixed objects that should obviously be easily connected.

3. Mailchimp. WHY: The actual work that gets done with the API is complex while the API itself is not.

Good APIs should be clear, work as stated in the docs, there should never be a case where "logically it should work this way" but it does not.

Re:Ask HN: What REST APIs, in your opinion, deserve an award? by myrloc on Sunday December 29, 2019 @01:16PM (#21907408)
Curious - do you have any experience working with alternatives to REST, e.g. Github's GraphQL API?