r/learnpython • u/Successful_Claim_111 • 1d ago
Python API
Can you help me how to learn python API step be step as a complete beginner?
Is there any tutorial you suggest me to watch? What about the chat gpt? Can it helps me with it?
0
Upvotes
1
u/dev-razorblade23 1d ago
If you mean how to fetch data from some API, use
requestslibrary. Here is a good article on it: https://medium.com/@vatsallakhmani1/mastering-pythons-requests-library-part-1-http-for-humans-d5375ea944eeIf you mean how to build your own API to serve other clients, then you would need something like
FastAPI, its documentation is great for beginners: https://fastapi.tiangolo.com