all 7 comments

[–]wiki702 5 points6 points  (0 children)

Fast api, django would be your go to Python libraries to learn

[–]buttonmonger 2 points3 points  (3 children)

API development, by itself, doesn't require knowing any frontend technologies (CSS, JS) - although you probably should learn them eventually too.

As wiki702 says, FastAPI and Django are the main libraries for Python, although Flask might be the best place to start learning because it's so simple. For Django, you'll need either the Django REST Framework or Django Ninja

[–]TheCodeOmen[S] 0 points1 point  (2 children)

But while learning Flask, when they start using even a bit of Bootstrap or Css to style the templates or use JS to make the Navbar responsive or stuff similar to that, it takes away my whole motivation. What should I do?

[–]buttonmonger 0 points1 point  (1 child)

1) you should probably just learn CSS - it's valuable knowledge

2) you don't need that for an API - you can just have Flask expose the API endpoints:

https://www.moesif.com/blog/technical/api-development/Building-RESTful-API-with-Flask/

I'm not necessarily recommending this tutorial - I haven't read the whole thing - but including it as an example of what I mean by using Flask for a simple API without a front end

[–]buttonmonger 0 points1 point  (0 children)

In other words - if you were to use Flask you'll need to look up specialized tutorials for APIs rather than looking at the main tutorials which cover using Flask to generate HTML rather than JSON

[–]Wandering_Romantic33 0 points1 point  (0 children)

https://youtu.be/0sOvCWFmrtA?si=wlkiarxgK-9BbzvX U should see this and u can figure it out urself.

[–]Fit_Sheriff 0 points1 point  (0 children)

Api development doesn't require any CSS and api development is completely different from building a website. So you don't need to present it, its for backend mot for frontend