Tag Archives: API REST

Debating a change

During class this week, we discussed our midterm profiles We talked about Django, which is a high-level Python web framework, and how it operates. We learned how some people started learning how to code at age 57, so it is never too late to start.

We also discussed APIs, which stand for Application Programming Interface. It is the link that communicates the user’s request to the server and delivers back a response. APIs make connectivity between sites possible, especially in a complex set-up where many servers are connected to one user page. There are different kinds of APIs. I watched the video about the REST API, where it explained how we can type functions in the browser and an order will go out to the server and then a result will show up accordingly.

Figuring out FileZilla was interesting. I was not able to connect to it during class even after connecting to Saxanet. I contacted customer service and they said that my account is working and they are not sure what the problem is. After much frustration, I went home and tried it again on a different internet and it worked right away. I went through the instructions that Greg sent, but was not able to figure out what exactly to drag into the directory. I will work with Greg on Tuesday to make sure I have the right folders in the right places.

My final pitch is coming together. I want to create a consistent brand with the same colors, fonts, and design throughout all my platforms. This way there is an association between my name and that brand. I want my website to be easily navigable and all tabs are clear and straightforward.

I started my new job this week. We work with many departments to help them live stream events. We send them a toolkit to walk through the steps of setting up the live streaming, how they can manage it and what information they need to submit to our team. The tool kit is a Word document that we share and the manager was complaining about how inconvenient that has been. I was thinking we should create a website that we can add plugins to and we can have the steps for live streaming laid out, as well as various sections to upload the information our team needs. We can also add an FAQ section and a demo/examples section. I was debating changing my final project to this instead of a personal website. I will discuss this possibility with Greg tomorrow. 

API

The waiter analogy in the first tutorial set the meaning and function of APIs as clear as could be. I have always maintained that the use of everyday activities as references remain the most effective form teaching. Henceforth, that analogy will remain in my mind when I see the services of a waiter. I was so amazed about the power of the REST API and its possibilities. I will have to revisit most of the explanations at a later time to cement my understanding and its usage. But in all, the concept seem fairly simple and straight forward. I have been watching a few tutorials about the powerful symbiotic relationship between APIs and JSON. I was particularly impressed with this resource on REST API concepts and examples and how to make a API request (graph.facebook.com/youtube). I tried a couple of websites but got this error message.

{
   "error": {
      "message": "An access token is required to request this resource.",
      "type": "OAuthException",
      "code": 104,
      "fbtrace_id": "HuZcagOScRx"
   }
}