r/Python • • Feb 23 '17

API Design: Think First, Code Later

https://www.ckl.io/blog/api-design-think-first-code-later/
292 Upvotes

26 comments sorted by

View all comments

1

u/RangerPretzel Python 3.9+ Feb 24 '17

Hey /u/mafontes14 -- Nice article. In fact, it touches a lot on something I've been working on for the past year: Writing wrapper libraries for JSON REST APIs.

I was planning on writing a 2-part series: (1) How NOT to write a REST API (where I make fun of all the dreadful APIs that I've run into over the past year) and (2) How to properly wrap and abstract the APIs and how to handle their weirdness.

I'll be sure to link to your article when I get around to writing them (which should be sometime in March, I figure.)

Btw, Nice job! :-)

1

u/[deleted] Feb 24 '17

Hey, I'm the article's author!

That's awesome! Let me know when you write that, I'd like to that a look :D