So from the last post we have all our code in place for our F1 api, now we are looking at the following: Retrieving Status codes Filtering our query Status code What are status code? And why are they important? Status codes tell us whether a HTTP request was successful or not. So there are 5 […]Read More Part V: More on API’s with F1
The end goal of the F1 website is to have an angular front end served by our api.py file but before going there I am really looking forward to optimizing this code. Lets begin with viewsets. Viewsets Viewsets are class based views, the method handlers of viewsets are bound to certain actions at the point […]Read More Part IV: Improvising code
In the previous blog we created api, now we are going to test it. Before going there I have made some changes to the project. Like I have created a Detail view which has information on particular Racer. The template would look something like this: So lets begin updating some code, starting from the models.Update your […]Read More Part III: Implementing HTTP Verbs on F1 api
In this post I will be covering: What is a Restful API Methods / verbs Implementing API calls API’s To explain API, i’ll use the Waiter analogy. Once you go to the restaurant and you are seated, the waiter comes to you with a Menu, Menu is a list of stuff you can order. So […]Read More Part I : RESTful API
Hi, in this post I will be covering the following: What are Processors? Why are they essential part of a computer system? How do they interface with the High Level code we write? Processor is an electronic circuit, it is mostly made up of different types materials namely various types of plastic, aluminium , copper, […]Read More Part II: How efficient is your code – Processors
In this post I am going to talk about memory management in general and also specific to Python. While I was gathering content on this subject, I comprehended that there is a lot of concepts which I want to touch upon. Therefore I decided to break this post down into two modules. In this module […]Read More Part II: How efficient is your code – Memory
Given a problem statement, we tend to find out ways to solve the problem – Our focus is understanding the problem statement and solving it. But are we solving the problem Efficiently is my question. As Software Engineers we don’t just write code, we write an efficient code. When I say “Efficient” I not only […]Read More Part I: How efficient is your code?