
















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
API Assignment 2022 Computer Science
Typology: Schemes and Mind Maps
1 / 56
This page cannot be seen from the preview
Don't miss anything!

















































INTERNAL VERIFICATION – ASSESSMENT DECISIONS Programme title Higher^ National^ Diploma^ in^ Computing Assessor Internal Verifier Unit(s) Unit 29^ –^ Application^ Program^ Interfaces Assignment title Student’s name List which assessment criteria the Assessor has awarded. Pass Merit Distinction INTERNAL VERIFIER CHECKLIST Do the assessment criteria awarded match those shown in the assignment brief? Y/N Is the Pass/Merit/Distinction grade awarded justified by the assessor’s comments on the student work? Y/N Has the work been assessed accurately? Y/N Is the feedback to the student: Give details:
Programme Leader signature (if required) Date
Formative Feedback: Assessor to Student Action Plan Summative feedback Feedback: Student to Assessor Assessor signature Date Student signature Date
General Guidelines
Student Name /ID Number Unit Number and Title Unit^ 29-^ Application^ Program^ Interfaces Academic Year (^) 2018/ Unit Tutor Assignment Title Issue Date Submission Date IV Name & Date Submission format The submission should be in the form of an individual written report. This should be written in a concise, formal business style using single spacing and font size 12. You are required to make use of headings, paragraphs and subsections as appropriate, and all work must be supported with research. You must provide in-text citations and the reference list using Harvard referencing system. The recommended word count is 4,000–4,500 words excluding annexures. Note that word counts are indicative only and you would not be penalized for exceeding the word. Minimum word count – 4, Maximum word count – 5,
The act of acquiring product or services over the Internet is simply known as Online Shopping. Online shopping has grown its popularity over the years, mainly because people find it convenient and easy to shop from the comfort of their own home or office. This is one of the most enticing factors about online shopping. OZQ-cart is an online shopping system that facilitates business-to-consumer sales through its website. OZQ-cart system helps to buy any type of item online by choosing the listed products from the website. Following are the functional requirements of the system. Registration – Customers can view the store but only the members can buy items. To become a member of the website, the customer needs to register for the membership. Login page - The Login page is peripheral of the secure area of the system and allows the user to log onto the web application. The user can view the store and add their order to the shopping cart. Shopping cart – Member can add their searched items to the cart. User Profile - The User Profile page is an area that allows the users to maintain their own information. The user can browse and search the items and add to the shopping cart. Item Search and Select - Each customer must be able to view the status of the placed order. Feedbacks – user can provide opinions/ feedback to the site. Following are the non-functional requirements of the system. Performance Usability Reliability and availability Security Develop a web based solution for the above scenario.
Observation Sheet Activi ty No Activity Learni ng Outco me Feedback (Pass/ Redo) 1 Examine what an API is, the need for APIs and types of APIs.
2 Apply the knowledge of API research to design an application that incorporates relevant APIs for a given scenario or a substantial student Chosen application.
3 Implement an application in a suitable development environment.
4 Document the testing of the application, review and reflect on the APIs used.
Comments: Assessor Name :……………………………………………. Date :……………………………………………. Assessor Signature: …………………………………………………………………………
Grading Rubric Grading Criteria Achieved Feedback LO1 Examine what an API is, the need for APIs and types of APIs P1 Examine the relationship between an API and a software development kit (SDK). M1 Asses a range of APIs for a particular platform that covers a range of uses. D1 Evaluate potential security issues surrounding APIs LO2 Apply the knowledge of API research to design an application that incorporates relevant APIs for a given scenario or a substantial student chosen application P2 Analyze an existing application that could be extended with a suitable API. M2 Design an application that will utilize an API for a given purpose. D2 Create a design for a chosen substantial application that will utilize a range of APIs, justifying choices. LO3 Implement an application in a suitable development environment P3 Build on an existing application framework to implement an API.
All praise and blessing are due to the creator of mankind and all that exists, for His blessings, and guidance at every stage of my life. For the successful completion of this assignment, I needed the help and guidelines of some respected person, who deserves my greatest gratitude. The completion of this assignment gives me much pleasure. I would like to show my gratitude to our lecturer for giving me a good guideline throughout numerous consultations. Thank you.
When you use an application on your mobile phone, the application connects to the Internet and sends data to a server. The server then retrieves that data, interprets it, performs the necessary actions and sends it back to your phone. The application then interprets that data and presents you with the information you wanted in a readable way. This is what an API is - all of this happens via API. When it comes to software, APIs are literally everywhere. APIs go hand in hand with one of the most fundamental concepts in computer science: abstraction. Abstraction is just a way of organizing the complexity of a system so that complicated actions can be handled in a simple way. How to use APIs An API in and of itself is documentation that identifies the endpoints of a server where information can be obtained. These endpoints depend entirely on the database, but examples could include "first name" or "shipping zip" in a customer relationship management (CRM) database. Using an API, the server supplies information to a user who requests data through a client. The specific request also referred to as a call is completed using either hypertext transfer protocol (HTTP) or programming languages like JSON or XML. The first method uses a web browser and is suitable for requesting a limited number of responses, since the information is returned in a format that's difficult to digest. The second method involves building a dedicated program that translates and organizes large volumes of data into an easy-to-navigate interface. Figure 1
There are many types of APIs for operating systems, applications, or websites. Windows, for example, has many API sets that are used by system hardware and applications. Most operating systems provide open APIs so programmers can write applications that will be compatible with the current environment. APIs can also be specified by websites. For example, Amazon and eBay APIs allow developers to use the existing retail infrastructure to create specialized web stores. Third-party software developers use web APIs to create software solutions for end users, and developers use APIs to create applications for internal and commercial use. There are thousands of APIs in use today, with new ones added for each new software launch or update. Some APIs are available for public use, whereas others might be strictly internal or limited in use between two or more partners. APIs can vary by architecture type (REST, SOAP, RPC, etc.), but they are generally used in one of three layers to create API-led connectivity: System APIs access and maintain data. These types of APIs are responsible for managing all of the configurations within a system and are intended for low-level operations. They provide access to the information within a database without granting direct access to the database itself. For example, a system API unlocks a company's billing database to retrieve an individual customer's billing information. The API establishes a connection between the caller and the database that is limited to only the specific information requested. Process APIs take the data accessed with system APIs and synthesize it to create a new way to interact with it across systems. Multiple APIs are usually involved in creating a robust process, so there are many moving pieces to consider when developing this API layer. To continue the example from above, a process API would take the customer's billing information obtained from the system API and combine it with inventory information and shipping logistics from separate system APIs. This information together could then be used to create a sales order. Experience APIs add meaning to system and process APIs. These types of APIs present the information collected by system and process APIs in a relevant context to a specified audience. The data is reconfigured and reformatted to display the key details that the intended audience
Amazon Product Advertising API Amazon's Product Advertising API gives developers access to Amazon's product selection and discovery functionality. This enables publishers to advertise Amazon products and monetize their website. The Amazon Product Advertising API streamlines ecommerce avenues for retailers who have an established Amazon storefront but still want to market their items from their own website. It also offers a way for bloggers and other publishers to leverage their affiliate marketing program so they can curate Amazon product listings and earn money when their readers make a purchase after visiting the link(s). Facebook APIs Facebook APIs are among the most common APIs in use today. Similar to Twitter, Facebook offers an API for accessing Facebook content, groups, users, etc. (called the Graph API) and another API for accessing Facebook advertising functions (called the Marketing APIs). The Graph API is responsible for any "Login with Facebook" feature found on sites where it's possible to create an account using existing Facebook credentials. They also make it possible for visitors to a website to share an article or page directly to Facebook without needing to copy and paste the link. The Marketing APIs, on the other hand, make it easier for a publisher to tailor their advertisements to a specific audience demographic or optimize their ads in real time to maximize their budget for a designated goal. Mailchimp API Mailchimp is a popular email marketing tool that uses an API to read data from a website's users or list of visitors who have signed up to receive emails. Depending on the website's content management system (CMS), the implementation of the API could look a little different, but the function is the same. When a visitor signs up to receive emails from the publisher, their contact information is saved to a list in the CMS. The API then extracts the information from that list and adds it to an "Audience" within the Mailchimp user interface. The visitor's data is
synchronized between Mailchimp and the CMS, so if they unsubscribe from Mailchimp, it is reflected in the CMS PayPal API Another frequently implemented API is that for PayPal, a payment processing platform that is used in creating ecommerce stores. This API allows users to maintain their banking information on one secure platform rather than repeatedly entering their credit card number across multiple ecommerce sites. This reduces the number of sources that have access to the customer's banking information and also simplifies the transaction process because the API handles the exchange of information without any action needed from the customer besides logging in. Some of the benefits of using API are: Ease of integration An API is a component that allows different platforms, applications and systems to connect and share information with each other and carry out diverse types of tasks. For instance, a certain software can be used inside another or connected with other tools to streamline certain processes. Better integration APIs simplify and facilitate integration which allow different software to reorganize their interrelationships according to your business’ specific needs. By doing that your company can obtain better results whilst reducing development costs. Externally, you can integrate your applications with third parties in order to optimize their functionality and to improve usability. Automating tasks The integration of applications is the keystone for a large part of automation strategies for which APIs become indispensable. Integrations automate manual tasks to generate a smooth, effortless transition between linked applications. Thanks to automation and integration of processes your business can save costs, time and efforts.