Definition/Concept Guide

You do not need to read this. This is only for reference when going through the sushi card.

API

API is short for application programming interface. An API is a way to access and send information to another server. For example, with the Discord API, you can access information from the specific Discord server, for example, messages, users, and server information. You can also send information with the API, for example sending a message in the chat or sending a user a private message.

Environment Variables

Information that is stored that can be accessed through the code. This is particularly useful for information you do not want seen by anyone who reads the code. This is a type of variable that is hidden from plain sight, and is declared/retrieved in a different way than a normal variable. Reference creating environment variables for more information.

Library

Libraries are a very helpful tool in coding in any language. It is code written by someone else that you can reference to do specific tasks. This will make the process of coding projects easier as you do not need to code everything but can rely on work from others. Some of these libraries come with the programming language, however, some may come from external authors.

String

A string is a type of data. It is a bunch of characters (numbers, letters, symbols, spaces, etc.) combined together to form something like a sentence. It is usually created by putting the group of characters in quotes. For example "Hello World!" is a string.

Variable

A variable is a way of storing data in your code. It can be changed throughout your code, unless it is defined as a constant variable (unneeded for this sushi card). It is created through a key-value system. This means you define a key, or a name that is referenced to access the value, the data that is stored. It is created by typing the following with age being the key and 15 being the value.

age = 15

Last updated