advanced computer network, about computer

jishukurmi81 29 views 16 slides Sep 13, 2024
Slide 1
Slide 1 of 16
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16

About This Presentation

advanced computer network, about computer


Slide Content

P R E S E N T E D B Y : j i s hu k u r m i A P I I m p l e m e n t a tio n over network

T A B L E O F C O N T E N T S 1 W H A T I S A N API? H o w d o A P I s W o r k ? 3 Advantages and D i s a d v a n t a g e s o f A P I s 2 04 T y p e s o f A P I s 5 W e b s e r v i c e A P I

W H A T I S A N A P I ? A P I s a r e a l l a r o u n d u s . E v e r y t i m e w e u s e f a c e b oo k , s e n d a n i n s t a g r a m m e ss a g e o r c h e c k t h e w e a t h e r w e ' r e u s i n g a n API API or Application Programming Interface that allows two applications to talk to each other

H o w d o A P I s W o r k ? Think of a client-server architecture where the client sends the request via a medium to the server and receives the response through the same medium. An API acts as a communication medium between two programs or systems for functioning. The client is the user (who sends the request), the medium is the API, and the server is the backend (where the request is a cc e p t e d a n d a r e s p o n s e i s p r o v i d e d )

E x a m p l e y o u c a n t h i n k o f a n A P I l i k e a w a i t e r i n a r e s t au r a n t w h o l i s t e n s t o y o u r o r d e r r e q u e s t , g o e s t o t h e c h e f , t a k e s t h e f oo d i t e m s o r d e r e d a n d g e t s b a c k t o y o u w i t h t h e o r d e r

A d v a n t a g e s o f A P I s Efficiency : API produces efficient, quicker, and more reliable results . Flexible delivery of services : API provides fast and flexible delivery of services according to developers’ requirements. Integration : It allows the movement of data between various sites and thus enhances the integrated user experience.

D i s a d v a n t a g e s o f A P I s Cost : Developing and implementing API is costly at times and requires high maintenance. Security issues : Using API adds another layer of surface which is then prone to attacks, and hence the security risk problem is common in APIs.

Types of APIs Pu b Li c Partne r Privat e

It is also known as open APIs that are published for general use, anyone can request data from any number of companies that use it. Open APIs are a critical component for mobile apps, as well as providing easy integration to major services for many websites. An example of public API that’s been widely adopted would be Google’s M a p s A P I s . Public APIs

A p r i v a t e , o r c l o s e d , A P I i s t y p i c a ll y u s e d b y a s o f t w a r e v e n d o r w i t h i n i t s o w n infrastructure. Private APIs

When two different companies want to share data, they might d o s o t h r o u g h a p a rt n e r A P I . This model allows businesses and developers to connect with another business in a way that wouldn’t otherwise be possible. Partner APIs

W e b s e r v i c e A P I There are two major types of web service SOAP REST

What is SOAP S O A P s t a n d s f o r ( S i m p l e O b j e c t A cc e s s P r o t o c o l ) T r a n s p o r t s d a t a i n s t a n d a r d X M L f o r m a t . W o r k s o v e r H TT P , H TT P S , S M T P , X M P P H i g h l y s tr u c t u r e d / t y p e d

What is REST R E S T s t a n d s f o r ( R e p r e s e n t a t i on a l S t a t e Transfer) I t w o r k s w i t h G E T , P O S T , P U T , D E L E T E W o r k s o v e r H TTP a n d HTTPS L e s s s tr u c t u r e d - > l e s s b u l k y d a t a

CONCLUSION APIs play a vital role in the digital world, a c t i n g a s b r i d g e s t h a t e n a b l e s m o o t h c o mm u n i c a t i o n b e t w ee n d i f f e r e n t s o ft w a r e a pp l i c a t i o n s .

THANK YOU
Tags