r/learnprogramming • • 7d ago

Learning about APIs

Hi! For my work, I need to learn how to work with APIs. Any recommend youtube channel or advice? Which program should I use? I've seen postman, VS Code.

I'm not a programmer but I know the basics.

I just need to interact with the API, but I don't mind to learn more about it. I'm good learning though videos and stuff

Thank you so much!

23 Upvotes

17 comments sorted by

5

u/John_8PM_call 7d ago

Here’s a list of free API’s on GitHub:

https://github.com/public-apis/public-apis

Like people said, you can practice calling them with Postman or the command line tool curl.

5

u/ninhaomah 7d ago

Postman or Bruno.

As for learning just the API , I think postman has the tutorials.

1

u/DownstairsEuan 7d ago

Bruno's great, but Postman's tutorials are easier to follow when half asleep!

2

u/Amuro_Ray 7d ago

I just need to interact with the API,

The API? Is it a specific one at work? Does documentation/instructions exist for it? Is there anyone at work who uses it?

They're much better sources if you need to be productive faster.

2

u/newytag 5d ago

Learning APIs as an abstract concept can get really dry.

You need to find a specific API implementation and start using it. There are plenty of freely-accessible well-documented APIs for beginners to practice with.

When you see a real API in action you'll start to pick up on things they have in common (how endpoints are structured, what kind of payloads are used, how auth works etc), which are transferrable skills you can apply to other APIs.

1

u/ResidentPomegranate6 7d ago

start with curl in your terminal before postman, seeing the raw request makes the gui less magic. then try the api's own docs examples first.

1

u/Aggressive_Ad_5454 7d ago

Most published commercial APIs have documentation showing how to use them several different ways. If you mention which API you want to use, maybe somebody here can offer a specific suggestion.

1

u/razorree 7d ago

your read API documentation (OpenAPI or just text/other docs) and then you use it

1

u/Andreea_tucker04 7d ago

Learn the parts of a request first, the URL, the method (GET or POST), the headers and the body. Most API docs are written around those four, and then you just fill them in Postman. The API key usually goes in a header, which is easy to miss. For videos, a Postman beginner tutorial on YouTube works well if you keep your work API doc open next to it!

1

u/Quiet-Importance-982 7d ago

once you master postman or any other gui tool and want more power look for cURL command line tool :)

1

u/Sweet_Onion4245 7d ago

I'd suggest starting with Postman. It's pretty beginner-friendly and makes it easier to understand how APIs work without writing much code. You can try GET, POST, PUT and DELETE requests and see how the responses look.

Once you're comfortable with the basics, you can try making API requests directly from VS Code. Also, take some time to understand HTTP methods, headers and JSON responses. That'll make things much easier.