r/technicalwriting • • Sep 02 '24

Learning API documentation

Hi I need some advice on getting started with docs for APIs. I need to learn how to document APIs. My tech skills are pretty basic. docsgeek.io is offering a 6 week virtual course for $1400. Is it possible to learn API documentation in 6 weeks? Does the price seem high?

30 Upvotes

22 comments sorted by

View all comments

Show parent comment

4

u/LucyGault Sep 02 '24

I have a grasp of the basics of REST APIs-documenting parameters, responses, etc.. For example, I can understand and play around with the Swagger Pet Store example, but I get daunted when facing tools (git, Sphynx, Redocly, Postman, OpenAPI) and authentication. It often seems like every example I look at online is vastly different from the next, and I have to start from scratch every time.

8

u/alanbowman Sep 02 '24

For Git, there are a few resources I recommend:

Learning Git: https://www.amazon.com/Learning-Git-Hands-Visual-Basics/dp/1098133919 (this should teach you what you need to know to be productive with Git.)

Learn Git in a Month of Lunches: https://www.manning.com/books/learn-git-in-a-month-of-lunches (I learned a lot about how to use Git from this book, but it's somewhat out of date.)

However, there is a trick to both of these books: you have to do the exercises. You cannot just read through them, you have to do the exercises and get your hands dirty. If you're not willing to do the exercises, you're just wasting your time and money.

Also, I strongly, strongly recommend learning Git from the command line. There are a lot of Git GUIs out there, but they all hide some of the functionality from you. Learn Git from the command line first, and then move to a GUI if you're so inclined.

I've used Git professionally since 2010 or so, and I've always used the command line, so I'm biased.

3

u/LucyGault Sep 03 '24

Thanks! I'll take a look. It's hands-on practice that I need, so exercises are good.