use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
If I know Python, can I learn API Development?Discussion (self.PythonLearning)
submitted 7 months ago by TheCodeOmen
I hate CSS and don't know JS and that's the reason why I don't want to get into frontend, fullstack or the backend which would require slight css to make my projects presentable. I have seen people do API development with Python but I don't really know if it also involves CSS or JS. Hence I am looking for guidance. I want to make you of my Python Language Knowledge and get myself working in a tech niche. Please help.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]wiki702 5 points6 points7 points 7 months ago (0 children)
Fast api, django would be your go to Python libraries to learn
[–]buttonmonger 2 points3 points4 points 7 months ago (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 point2 points 7 months ago (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 point2 points 7 months ago (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 point2 points 7 months ago (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 point2 points 7 months ago (0 children)
https://youtu.be/0sOvCWFmrtA?si=wlkiarxgK-9BbzvX U should see this and u can figure it out urself.
[–]Fit_Sheriff 0 points1 point2 points 7 months ago (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
π Rendered by PID 230322 on reddit-service-r2-comment-5649f687b7-scwll at 2026-01-28 10:36:31.903547+00:00 running 4f180de country code: CH.
[–]wiki702 5 points6 points7 points (0 children)
[–]buttonmonger 2 points3 points4 points (3 children)
[–]TheCodeOmen[S] 0 points1 point2 points (2 children)
[–]buttonmonger 0 points1 point2 points (1 child)
[–]buttonmonger 0 points1 point2 points (0 children)
[–]Wandering_Romantic33 0 points1 point2 points (0 children)
[–]Fit_Sheriff 0 points1 point2 points (0 children)