UNIT NO. & TITLE: Unit 29. Application Program Interface
QUALIFICATION: BTEC HND Level 5 Computing
YEAR: 2019-2020
PREPARED BY: SIDDHESH RAJE
REPORT
SUBMITTED ON:
1
, INDEX
TASK CONTENT PAGE
NO. NO.
LO1 Examine what an API is, the need for APIs and
types of APIs
P1 Examine the relationship between an API and a 3
software development kit (SDK).
M1 Asses a range of APIs for a particular platform that 5
covers a range of uses.
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 8
extended with a suitable API.
M2 Design an application that will utilize an API for a 10
given purpose.
LO3 Implement an application in a suitable
development environment.
P3 Build on an existing application framework to 16
implement an API.
M3 Develop an application that utilizes an API. 19
LO4 Document the testing of the application,
review and reflect on the APIs used.
P4 Design and complete a ‘white box’ test of the 27
application, recording the results.
M4 Conduct black box tests of your application recording 33
the results.
M5 Update the application accordingly with the results. 37
REFERENCES 40
2
,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)
What is an API? “An API is a set of programming code that enables data
transmission between one software product and another as it also contains the
terms of this data exchange” It stand for Application Program Interface
With API our product or service can communicate with each other
products and services without having to know how to it actually
implemented.
This makes the simplify app development which saves time and money.
Sometimes APIs thought of as contracts, with the documentation that
represent an agreement between Sets: if set1 sends a remote request
structured a particular format, this is ow set2 software will respond.
APIs are the simplified way to connect our own infrastructure through
cloud-native
Types of APIs
Private: This APIs work for company employee, within the organization
Partner: This APIs work for business users are potential target audiences
for such apps
Public: This is an open-source apps where third party is also involved
3
, What is SDK: It provides a selection of tools required to build Android apps
and also ensure the process goes as smoothly as possible. Whether we end up
creating an app with java, kotlin or C#. SDK can also be used to write Android
programs in the command prompt and the most common method is by using an
integrated development environment (IDE).
Android SDK have several components which are as follows
Platform-tools
Build-tools
SDK-tools
Android Emulator
Android Debug Bridge (ADB)
Relationship between API and SDK are as follows:
API is a set of operations where a developer can use to access the
backend of a server assuming that the service is on a remoter server. On
the other hand, SDK is a group of tools which includes pieces of code
that gets embedded into service.
SDK is a set of tools which help to build the application and API is a set
of operation which help to communicate with different application
Example: Let consider we are building application of mobile banking where
we have used facial recognition where we need to verify and identify a
customer before they deposit a check we will need help with the facial
recognition piece of code that would be too complex and costly for our project
to create from scratch when we just need it as a add-on feature within our
application this when we choice if we should use an API or a SDK. In this case
API would most likely be what we need for our mobile banking app as we could
easily create a proof-pf-concept before the integrating it into our current code
base. In other hand SDK may offer too many additional features, and take
additional time to set-up in our development environment. This can be better
option to build our framework of our application, if we had not done that
already.
4
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller sidx. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.