SlideShare a Scribd company logo
Hello
Everyone!
Ratnesh Kumar
Building mobile apps for Android & iOS devices.
(Mobikul Department)
Story of an
UNSUNG HERO
In this era of technology, we all are
connected around the world from
desktop to mobile devices to
laptops to browser.
But how does this happens?
How does data reach from one
device to another?
How do different devices interact
with each other ?
Behind all this, there is a hero that is
API.
Application
Programming
Interface
(API)
What is an API?
Api is simply exposing business
capabilities (web services) over
the internet.
OR
API consists of a set of rules
describing how one application
can interact with another, and the
mechanisms that allow such
interaction to happen.
XYZ Restaurant
**Logos and Trademarks are owned by
their respective owners
Ways to
Access Web
Services!
There are two ways to
access Web Services.
• Simple Object Access Protocol
(SOAP).
• Representational State Transfer
Protocol (REST).
SOAP
The Granddaddy of Web Services
Interfaces.
• XML based messaging protocol.
• Platform and Language
Independent.
• SOAP has built-in stateful
operations.
• SOAP is complex, yet well
formatted.
REST
The easy way to expose Web
Services. (REST + JSON)
• Uses HTTP to perform CRUD.
• Platform and Language
Independent.
• REST is naturally stateless.
• REST is easy to understand.
ABC Flight Website
**Logos and Trademarks are owned by
their respective owners
Flight Aggregator Application
**Logos and Trademarks are owned by
their respective owners
Benefits of
API
• Helps making money (ebay)
• Helps saving money (AWS)
• Helps building brand (Google
Map)
• Move to the CLOUD (shopify)
• Omni presence (Netflix)
Why we need
API?
We need to have a Web API if we
want to store and process our data
in server and let any other
application (web application, mobile
application, IoT devices etc.)
request and get data from that
server if needed.
Authenticati
on
• Basic access authentication.
• OAUTH authentication.
Basic access authentication
**Logos and Trademarks are owned by
their respective owners
OAUTH
**Logos and Trademarks are owned by
their respective owners
How to build
API in
Magento 1?
Magento supports both SOAP and
RESTful APIs’
Create SOAP
API in
Magento 1?
Required files to create SOAP apis’
• api.xml
(app/code/code_pool/namespace/module
_name/etc/api.xml)
• wsdl.xml
(app/code/code_pool/namespace/module
_name/etc/api.xml)
• Api functionality or business
logic
(app/code/code_pool/namespace/module
_name/Model/Api.php)
Create REST
API in
Magento 1?
Required files to create REST apis’
• api2.xml
(app/code/code_pool/namespace/module
_name/etc/api2.xml)
• Api functionality or business
logic
(app/code/code_pool/namespace/module
_name/Model/Api2/your_api_file.php)
Create API
in Magento2?
Required files to create apis’
• webapi.xml
(vendor/namespace/module_name/etc/w
ebapi.xml)
• Api functionality or business
logic
(vendor/namespace/module_name/Api/y
our_api_file.php)
webapi.xml
<route url="/V1/module_name" method="POST">
<service class="namespacemodule_nameApiyour_api_file_name" method="doSomething"/>
</route>
URL will be
your_domain/V1/module_name POST
Api functionality
public function doSomething () {
// your business logic
}
Thank You!
You may now ask questions

More Related Content

What's hot

What is an API?
What is an API?What is an API?
Enterprise apps using ruby droid con berlin 2012
Enterprise apps using ruby droid con berlin 2012Enterprise apps using ruby droid con berlin 2012
Enterprise apps using ruby droid con berlin 2012Droidcon Berlin
 
CLIG - CellID Getter API
CLIG - CellID Getter APICLIG - CellID Getter API
CLIG - CellID Getter APIsandy colondam
 
Api application programming interface
Api application programming interfaceApi application programming interface
Api application programming interface
Mohit Bishnoi
 
The Architecture of an API Platform
The Architecture of an API PlatformThe Architecture of an API Platform
The Architecture of an API Platform
Johannes Ridderstedt
 
Fluig - Identity
Fluig - IdentityFluig - Identity
Fluig - Identity
Fluig
 
APIdays Paris 2018 - The Lord of API Design, Arnaud Lauret, API Handyman & AP...
APIdays Paris 2018 - The Lord of API Design, Arnaud Lauret, API Handyman & AP...APIdays Paris 2018 - The Lord of API Design, Arnaud Lauret, API Handyman & AP...
APIdays Paris 2018 - The Lord of API Design, Arnaud Lauret, API Handyman & AP...
apidays
 
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good APIAPIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
apidays
 
apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...
apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...
apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...
apidays
 
API Strategy & Practice Conference - API Consumption from the Hackathon Trenches
API Strategy & Practice Conference - API Consumption from the Hackathon TrenchesAPI Strategy & Practice Conference - API Consumption from the Hackathon Trenches
API Strategy & Practice Conference - API Consumption from the Hackathon TrenchesAlex Gaber
 
Why apis
Why apisWhy apis
Why apis
javier ramirez
 
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices  - Austin API MeetupApplying Domain-Driven Design to APIs and Microservices  - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
LaunchAny
 
apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...
apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...
apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...
apidays
 
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays
 
Simple introduction about cordova
Simple introduction about cordova Simple introduction about cordova
Simple introduction about cordova
ahmed wahba
 
Mobile and API identity – The New Challenges
Mobile and API identity – The New ChallengesMobile and API identity – The New Challenges
Mobile and API identity – The New Challenges
CA API Management
 
apidays LIVE London 2021 - Moving from a Product as API to API as a Product b...
apidays LIVE London 2021 - Moving from a Product as API to API as a Product b...apidays LIVE London 2021 - Moving from a Product as API to API as a Product b...
apidays LIVE London 2021 - Moving from a Product as API to API as a Product b...
apidays
 
A shortcut to mobile app development: Enterprise Mobility 2014 Helsinki
A shortcut to mobile app development: Enterprise Mobility 2014 HelsinkiA shortcut to mobile app development: Enterprise Mobility 2014 Helsinki
A shortcut to mobile app development: Enterprise Mobility 2014 Helsinki
Ville Ingman
 
Hockey Community Phonegap Presentation
Hockey Community Phonegap PresentationHockey Community Phonegap Presentation
Hockey Community Phonegap Presentation
hockeycommunity
 
Web, Native & Hybrid Apps Overview
Web, Native & Hybrid Apps OverviewWeb, Native & Hybrid Apps Overview
Web, Native & Hybrid Apps Overview
Creative Spark, an M&C Saatchi Company
 

What's hot (20)

What is an API?
What is an API?What is an API?
What is an API?
 
Enterprise apps using ruby droid con berlin 2012
Enterprise apps using ruby droid con berlin 2012Enterprise apps using ruby droid con berlin 2012
Enterprise apps using ruby droid con berlin 2012
 
CLIG - CellID Getter API
CLIG - CellID Getter APICLIG - CellID Getter API
CLIG - CellID Getter API
 
Api application programming interface
Api application programming interfaceApi application programming interface
Api application programming interface
 
The Architecture of an API Platform
The Architecture of an API PlatformThe Architecture of an API Platform
The Architecture of an API Platform
 
Fluig - Identity
Fluig - IdentityFluig - Identity
Fluig - Identity
 
APIdays Paris 2018 - The Lord of API Design, Arnaud Lauret, API Handyman & AP...
APIdays Paris 2018 - The Lord of API Design, Arnaud Lauret, API Handyman & AP...APIdays Paris 2018 - The Lord of API Design, Arnaud Lauret, API Handyman & AP...
APIdays Paris 2018 - The Lord of API Design, Arnaud Lauret, API Handyman & AP...
 
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good APIAPIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
APIdays Paris 2018 - Autonomous APIs, Zdenek Nemec, Founder, Good API
 
apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...
apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...
apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...
 
API Strategy & Practice Conference - API Consumption from the Hackathon Trenches
API Strategy & Practice Conference - API Consumption from the Hackathon TrenchesAPI Strategy & Practice Conference - API Consumption from the Hackathon Trenches
API Strategy & Practice Conference - API Consumption from the Hackathon Trenches
 
Why apis
Why apisWhy apis
Why apis
 
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices  - Austin API MeetupApplying Domain-Driven Design to APIs and Microservices  - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
 
apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...
apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...
apidays LIVE London 2021 - API Security challenges and solutions by Wadii Tah...
 
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
apidays LIVE Paris - How to build better and consistent APIs at scale by Sami...
 
Simple introduction about cordova
Simple introduction about cordova Simple introduction about cordova
Simple introduction about cordova
 
Mobile and API identity – The New Challenges
Mobile and API identity – The New ChallengesMobile and API identity – The New Challenges
Mobile and API identity – The New Challenges
 
apidays LIVE London 2021 - Moving from a Product as API to API as a Product b...
apidays LIVE London 2021 - Moving from a Product as API to API as a Product b...apidays LIVE London 2021 - Moving from a Product as API to API as a Product b...
apidays LIVE London 2021 - Moving from a Product as API to API as a Product b...
 
A shortcut to mobile app development: Enterprise Mobility 2014 Helsinki
A shortcut to mobile app development: Enterprise Mobility 2014 HelsinkiA shortcut to mobile app development: Enterprise Mobility 2014 Helsinki
A shortcut to mobile app development: Enterprise Mobility 2014 Helsinki
 
Hockey Community Phonegap Presentation
Hockey Community Phonegap PresentationHockey Community Phonegap Presentation
Hockey Community Phonegap Presentation
 
Web, Native & Hybrid Apps Overview
Web, Native & Hybrid Apps OverviewWeb, Native & Hybrid Apps Overview
Web, Native & Hybrid Apps Overview
 

Viewers also liked

Magento Meetup New Delhi- Magento2 plugins
Magento Meetup New Delhi- Magento2 pluginsMagento Meetup New Delhi- Magento2 plugins
Magento Meetup New Delhi- Magento2 plugins
Webkul Software Pvt. Ltd.
 
Magento Meetup New Delhi- Magento2 Ui component
Magento Meetup New Delhi- Magento2 Ui componentMagento Meetup New Delhi- Magento2 Ui component
Magento Meetup New Delhi- Magento2 Ui component
Webkul Software Pvt. Ltd.
 
Magento Meetup New Delhi- Magento2 Speed Optimization
Magento Meetup New Delhi- Magento2 Speed OptimizationMagento Meetup New Delhi- Magento2 Speed Optimization
Magento Meetup New Delhi- Magento2 Speed Optimization
Webkul Software Pvt. Ltd.
 
Magento Meetup New Delhi- Magento2 code generation
Magento Meetup New Delhi- Magento2 code generationMagento Meetup New Delhi- Magento2 code generation
Magento Meetup New Delhi- Magento2 code generation
Webkul Software Pvt. Ltd.
 
Knockout JS Development - a Quick Understanding
Knockout JS Development - a Quick UnderstandingKnockout JS Development - a Quick Understanding
Knockout JS Development - a Quick Understanding
Udaya Kumar
 
Getting your Hands Dirty Testing Magento 2 (at London Meetup)
Getting your Hands Dirty Testing Magento 2 (at London Meetup)Getting your Hands Dirty Testing Magento 2 (at London Meetup)
Getting your Hands Dirty Testing Magento 2 (at London Meetup)
vinaikopp
 
Knockout js
Knockout jsKnockout js
Knockout js
shobokshi
 
Magento 101: A technical overview
Magento 101: A technical overviewMagento 101: A technical overview
Magento 101: A technical overview
X.commerce
 
#2 Hanoi Magento Meetup - Part 2: Knockout JS
#2 Hanoi Magento Meetup - Part 2: Knockout JS#2 Hanoi Magento Meetup - Part 2: Knockout JS
#2 Hanoi Magento Meetup - Part 2: Knockout JS
Hanoi MagentoMeetup
 
Magento 2 Modules are Easy!
Magento 2 Modules are Easy!Magento 2 Modules are Easy!
Magento 2 Modules are Easy!
Ben Marks
 
Magento 2 overview. Alan Kent
Magento 2 overview. Alan Kent Magento 2 overview. Alan Kent
Magento 2 overview. Alan Kent
MeetMagentoNY2014
 
Magento 2 Design Patterns
Magento 2 Design PatternsMagento 2 Design Patterns
Magento 2 Design Patterns
Max Pronko
 
Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2
Mathew Beane
 
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Joshua Warren
 
How To Create Theme in Magento 2 - Part 1
How To Create Theme in Magento 2 - Part 1How To Create Theme in Magento 2 - Part 1
How To Create Theme in Magento 2 - Part 1
Magestore
 
Magento2 what's new in theming
Magento2 what's new in themingMagento2 what's new in theming
Magento2 what's new in theming
Waruna Viraj Perera
 
E commerce trends
E commerce trendsE commerce trends
E commerce trends
Waruna Viraj Perera
 

Viewers also liked (18)

Magento Meetup New Delhi- Magento2 plugins
Magento Meetup New Delhi- Magento2 pluginsMagento Meetup New Delhi- Magento2 plugins
Magento Meetup New Delhi- Magento2 plugins
 
Magento Meetup New Delhi- Magento2 Ui component
Magento Meetup New Delhi- Magento2 Ui componentMagento Meetup New Delhi- Magento2 Ui component
Magento Meetup New Delhi- Magento2 Ui component
 
Magento Meetup New Delhi- Magento2 Speed Optimization
Magento Meetup New Delhi- Magento2 Speed OptimizationMagento Meetup New Delhi- Magento2 Speed Optimization
Magento Meetup New Delhi- Magento2 Speed Optimization
 
Magento Meetup New Delhi- Magento2 code generation
Magento Meetup New Delhi- Magento2 code generationMagento Meetup New Delhi- Magento2 code generation
Magento Meetup New Delhi- Magento2 code generation
 
Knockout JS Development - a Quick Understanding
Knockout JS Development - a Quick UnderstandingKnockout JS Development - a Quick Understanding
Knockout JS Development - a Quick Understanding
 
Getting your Hands Dirty Testing Magento 2 (at London Meetup)
Getting your Hands Dirty Testing Magento 2 (at London Meetup)Getting your Hands Dirty Testing Magento 2 (at London Meetup)
Getting your Hands Dirty Testing Magento 2 (at London Meetup)
 
Knockout js
Knockout jsKnockout js
Knockout js
 
Magento 101: A technical overview
Magento 101: A technical overviewMagento 101: A technical overview
Magento 101: A technical overview
 
#2 Hanoi Magento Meetup - Part 2: Knockout JS
#2 Hanoi Magento Meetup - Part 2: Knockout JS#2 Hanoi Magento Meetup - Part 2: Knockout JS
#2 Hanoi Magento Meetup - Part 2: Knockout JS
 
Introduction to Magento
Introduction to MagentoIntroduction to Magento
Introduction to Magento
 
Magento 2 Modules are Easy!
Magento 2 Modules are Easy!Magento 2 Modules are Easy!
Magento 2 Modules are Easy!
 
Magento 2 overview. Alan Kent
Magento 2 overview. Alan Kent Magento 2 overview. Alan Kent
Magento 2 overview. Alan Kent
 
Magento 2 Design Patterns
Magento 2 Design PatternsMagento 2 Design Patterns
Magento 2 Design Patterns
 
Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2
 
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
 
How To Create Theme in Magento 2 - Part 1
How To Create Theme in Magento 2 - Part 1How To Create Theme in Magento 2 - Part 1
How To Create Theme in Magento 2 - Part 1
 
Magento2 what's new in theming
Magento2 what's new in themingMagento2 what's new in theming
Magento2 what's new in theming
 
E commerce trends
E commerce trendsE commerce trends
E commerce trends
 

Similar to Magento Meetup New Delhi- API

What are ap is, how do they work, and why are they beneficial to developers a...
What are ap is, how do they work, and why are they beneficial to developers a...What are ap is, how do they work, and why are they beneficial to developers a...
What are ap is, how do they work, and why are they beneficial to developers a...
Shelly Megan
 
Your API is your Product - Arun Ravindran, Unisys
Your API is your Product - Arun Ravindran, UnisysYour API is your Product - Arun Ravindran, Unisys
Your API is your Product - Arun Ravindran, Unisys
baconfblr
 
A_Complete_Guide_to_API_Development.pdf
A_Complete_Guide_to_API_Development.pdfA_Complete_Guide_to_API_Development.pdf
A_Complete_Guide_to_API_Development.pdf
PamRobert
 
What is the difference between an api and web services
What is the difference between an api and web servicesWhat is the difference between an api and web services
What is the difference between an api and web services
Aparna Sharma
 
Oracle API Platform Cloud Service Best Practices & Lessons Learnt
Oracle API Platform Cloud Service Best Practices & Lessons LearntOracle API Platform Cloud Service Best Practices & Lessons Learnt
Oracle API Platform Cloud Service Best Practices & Lessons Learnt
luisw19
 
Protecting Your APIs Against Attack & Hijack
Protecting Your APIs Against Attack & Hijack Protecting Your APIs Against Attack & Hijack
Protecting Your APIs Against Attack & Hijack
CA API Management
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Polyxer Systems
 
Top 7 wrong common beliefs about Enterprise API implementation
Top 7 wrong common beliefs about Enterprise API implementationTop 7 wrong common beliefs about Enterprise API implementation
Top 7 wrong common beliefs about Enterprise API implementation
OCTO Technology
 
Octo API-days 2015
Octo API-days 2015Octo API-days 2015
Octo API-days 2015
Antoine CHANTALOU
 
Cross platform development - Rhomobile
Cross platform development - RhomobileCross platform development - Rhomobile
Cross platform development - Rhomobile
Konstantin Rybas
 
API, Integration, and SOA Convergence
API, Integration, and SOA ConvergenceAPI, Integration, and SOA Convergence
API, Integration, and SOA Convergence
Kasun Indrasiri
 
Design - Start Your API Journey Today
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey Today
LaurenWendler
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
Blockchainizator
 
API-led Architecture
API-led ArchitectureAPI-led Architecture
API-led Architecture
Techolution
 
WSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2
 
SumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststemSumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststemSumit Kataria
 
Mobile Architecture at Scale
Mobile Architecture at ScaleMobile Architecture at Scale
Mobile Architecture at Scale
Gergely Orosz
 
Is There An API In That (IoT)?
Is There An API In That (IoT)?Is There An API In That (IoT)?
Is There An API In That (IoT)?
ProgrammableWeb
 
IBM API management Philip Little
IBM API management Philip LittleIBM API management Philip Little
IBM API management Philip Little
Valeri Illescas
 
Processes and Telecom APIs
Processes and Telecom APIsProcesses and Telecom APIs
Processes and Telecom APIs
Alan Quayle
 

Similar to Magento Meetup New Delhi- API (20)

What are ap is, how do they work, and why are they beneficial to developers a...
What are ap is, how do they work, and why are they beneficial to developers a...What are ap is, how do they work, and why are they beneficial to developers a...
What are ap is, how do they work, and why are they beneficial to developers a...
 
Your API is your Product - Arun Ravindran, Unisys
Your API is your Product - Arun Ravindran, UnisysYour API is your Product - Arun Ravindran, Unisys
Your API is your Product - Arun Ravindran, Unisys
 
A_Complete_Guide_to_API_Development.pdf
A_Complete_Guide_to_API_Development.pdfA_Complete_Guide_to_API_Development.pdf
A_Complete_Guide_to_API_Development.pdf
 
What is the difference between an api and web services
What is the difference between an api and web servicesWhat is the difference between an api and web services
What is the difference between an api and web services
 
Oracle API Platform Cloud Service Best Practices & Lessons Learnt
Oracle API Platform Cloud Service Best Practices & Lessons LearntOracle API Platform Cloud Service Best Practices & Lessons Learnt
Oracle API Platform Cloud Service Best Practices & Lessons Learnt
 
Protecting Your APIs Against Attack & Hijack
Protecting Your APIs Against Attack & Hijack Protecting Your APIs Against Attack & Hijack
Protecting Your APIs Against Attack & Hijack
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
 
Top 7 wrong common beliefs about Enterprise API implementation
Top 7 wrong common beliefs about Enterprise API implementationTop 7 wrong common beliefs about Enterprise API implementation
Top 7 wrong common beliefs about Enterprise API implementation
 
Octo API-days 2015
Octo API-days 2015Octo API-days 2015
Octo API-days 2015
 
Cross platform development - Rhomobile
Cross platform development - RhomobileCross platform development - Rhomobile
Cross platform development - Rhomobile
 
API, Integration, and SOA Convergence
API, Integration, and SOA ConvergenceAPI, Integration, and SOA Convergence
API, Integration, and SOA Convergence
 
Design - Start Your API Journey Today
Design - Start Your API Journey TodayDesign - Start Your API Journey Today
Design - Start Your API Journey Today
 
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptxAPI Product Opportunity Responsibility Nicolas Sierro 2015.pptx
API Product Opportunity Responsibility Nicolas Sierro 2015.pptx
 
API-led Architecture
API-led ArchitectureAPI-led Architecture
API-led Architecture
 
WSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric EnterpriseWSO2Con Asia 2014 - Building the API-Centric Enterprise
WSO2Con Asia 2014 - Building the API-Centric Enterprise
 
SumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststemSumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststem
 
Mobile Architecture at Scale
Mobile Architecture at ScaleMobile Architecture at Scale
Mobile Architecture at Scale
 
Is There An API In That (IoT)?
Is There An API In That (IoT)?Is There An API In That (IoT)?
Is There An API In That (IoT)?
 
IBM API management Philip Little
IBM API management Philip LittleIBM API management Philip Little
IBM API management Philip Little
 
Processes and Telecom APIs
Processes and Telecom APIsProcesses and Telecom APIs
Processes and Telecom APIs
 

More from Webkul Software Pvt. Ltd.

Quick Product Edit for Magento 2
Quick Product Edit for Magento 2Quick Product Edit for Magento 2
Quick Product Edit for Magento 2
Webkul Software Pvt. Ltd.
 
Language translator for magento 2
Language translator for magento 2Language translator for magento 2
Language translator for magento 2
Webkul Software Pvt. Ltd.
 
Magento 2 marketplace flutterwave payment
 Magento 2 marketplace flutterwave payment  Magento 2 marketplace flutterwave payment
Magento 2 marketplace flutterwave payment
Webkul Software Pvt. Ltd.
 
OpenCart Ebay Connector Plugin
OpenCart Ebay Connector PluginOpenCart Ebay Connector Plugin
OpenCart Ebay Connector Plugin
Webkul Software Pvt. Ltd.
 
Magento 2 Geo-Location Currency Converter
Magento 2 Geo-Location Currency ConverterMagento 2 Geo-Location Currency Converter
Magento 2 Geo-Location Currency Converter
Webkul Software Pvt. Ltd.
 
Etsy Connector for Magento 2
Etsy Connector for Magento 2Etsy Connector for Magento 2
Etsy Connector for Magento 2
Webkul Software Pvt. Ltd.
 
Opencart Slack Commerce Plugin
Opencart Slack Commerce PluginOpencart Slack Commerce Plugin
Opencart Slack Commerce Plugin
Webkul Software Pvt. Ltd.
 
Magento 2 Food Delivery Multi-Vendor Marketplace Plugin
Magento 2 Food Delivery Multi-Vendor Marketplace PluginMagento 2 Food Delivery Multi-Vendor Marketplace Plugin
Magento 2 Food Delivery Multi-Vendor Marketplace Plugin
Webkul Software Pvt. Ltd.
 
Magento2 image gallery
Magento2 image galleryMagento2 image gallery
Magento2 image gallery
Webkul Software Pvt. Ltd.
 
Importance of Fashion Marketplace
Importance of Fashion MarketplaceImportance of Fashion Marketplace
Importance of Fashion Marketplace
Webkul Software Pvt. Ltd.
 
Wallet System for Magento 2
Wallet System for Magento 2Wallet System for Magento 2
Wallet System for Magento 2
Webkul Software Pvt. Ltd.
 
Magento 2 Marketplace Delivery Time Slot
Magento 2 Marketplace Delivery Time SlotMagento 2 Marketplace Delivery Time Slot
Magento 2 Marketplace Delivery Time Slot
Webkul Software Pvt. Ltd.
 
Custom Registration Fields for Magento 2
Custom Registration Fields for Magento 2Custom Registration Fields for Magento 2
Custom Registration Fields for Magento 2
Webkul Software Pvt. Ltd.
 
Magento 2 Order Comment
Magento 2 Order CommentMagento 2 Order Comment
Magento 2 Order Comment
Webkul Software Pvt. Ltd.
 
Opencart canada post shipping webkul
Opencart canada post shipping   webkulOpencart canada post shipping   webkul
Opencart canada post shipping webkul
Webkul Software Pvt. Ltd.
 
Show Price After Login for Magento 2
Show Price After Login for Magento 2Show Price After Login for Magento 2
Show Price After Login for Magento 2
Webkul Software Pvt. Ltd.
 
Shopify Connector for WooCommerce
Shopify Connector for WooCommerceShopify Connector for WooCommerce
Shopify Connector for WooCommerce
Webkul Software Pvt. Ltd.
 
OpenCart Booking & Reservation Via QR Code Pugin
OpenCart Booking & Reservation Via QR Code PuginOpenCart Booking & Reservation Via QR Code Pugin
OpenCart Booking & Reservation Via QR Code Pugin
Webkul Software Pvt. Ltd.
 
Age Verification for Magento 2
Age Verification for Magento 2Age Verification for Magento 2
Age Verification for Magento 2
Webkul Software Pvt. Ltd.
 
VirtueMart Akeneo Connector
VirtueMart Akeneo ConnectorVirtueMart Akeneo Connector
VirtueMart Akeneo Connector
Webkul Software Pvt. Ltd.
 

More from Webkul Software Pvt. Ltd. (20)

Quick Product Edit for Magento 2
Quick Product Edit for Magento 2Quick Product Edit for Magento 2
Quick Product Edit for Magento 2
 
Language translator for magento 2
Language translator for magento 2Language translator for magento 2
Language translator for magento 2
 
Magento 2 marketplace flutterwave payment
 Magento 2 marketplace flutterwave payment  Magento 2 marketplace flutterwave payment
Magento 2 marketplace flutterwave payment
 
OpenCart Ebay Connector Plugin
OpenCart Ebay Connector PluginOpenCart Ebay Connector Plugin
OpenCart Ebay Connector Plugin
 
Magento 2 Geo-Location Currency Converter
Magento 2 Geo-Location Currency ConverterMagento 2 Geo-Location Currency Converter
Magento 2 Geo-Location Currency Converter
 
Etsy Connector for Magento 2
Etsy Connector for Magento 2Etsy Connector for Magento 2
Etsy Connector for Magento 2
 
Opencart Slack Commerce Plugin
Opencart Slack Commerce PluginOpencart Slack Commerce Plugin
Opencart Slack Commerce Plugin
 
Magento 2 Food Delivery Multi-Vendor Marketplace Plugin
Magento 2 Food Delivery Multi-Vendor Marketplace PluginMagento 2 Food Delivery Multi-Vendor Marketplace Plugin
Magento 2 Food Delivery Multi-Vendor Marketplace Plugin
 
Magento2 image gallery
Magento2 image galleryMagento2 image gallery
Magento2 image gallery
 
Importance of Fashion Marketplace
Importance of Fashion MarketplaceImportance of Fashion Marketplace
Importance of Fashion Marketplace
 
Wallet System for Magento 2
Wallet System for Magento 2Wallet System for Magento 2
Wallet System for Magento 2
 
Magento 2 Marketplace Delivery Time Slot
Magento 2 Marketplace Delivery Time SlotMagento 2 Marketplace Delivery Time Slot
Magento 2 Marketplace Delivery Time Slot
 
Custom Registration Fields for Magento 2
Custom Registration Fields for Magento 2Custom Registration Fields for Magento 2
Custom Registration Fields for Magento 2
 
Magento 2 Order Comment
Magento 2 Order CommentMagento 2 Order Comment
Magento 2 Order Comment
 
Opencart canada post shipping webkul
Opencart canada post shipping   webkulOpencart canada post shipping   webkul
Opencart canada post shipping webkul
 
Show Price After Login for Magento 2
Show Price After Login for Magento 2Show Price After Login for Magento 2
Show Price After Login for Magento 2
 
Shopify Connector for WooCommerce
Shopify Connector for WooCommerceShopify Connector for WooCommerce
Shopify Connector for WooCommerce
 
OpenCart Booking & Reservation Via QR Code Pugin
OpenCart Booking & Reservation Via QR Code PuginOpenCart Booking & Reservation Via QR Code Pugin
OpenCart Booking & Reservation Via QR Code Pugin
 
Age Verification for Magento 2
Age Verification for Magento 2Age Verification for Magento 2
Age Verification for Magento 2
 
VirtueMart Akeneo Connector
VirtueMart Akeneo ConnectorVirtueMart Akeneo Connector
VirtueMart Akeneo Connector
 

Recently uploaded

Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
Aftab Hussain
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 

Recently uploaded (20)

Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Graspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code AnalysisGraspan: A Big Data System for Big Code Analysis
Graspan: A Big Data System for Big Code Analysis
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 

Magento Meetup New Delhi- API

  • 2. Ratnesh Kumar Building mobile apps for Android & iOS devices. (Mobikul Department)
  • 3. Story of an UNSUNG HERO In this era of technology, we all are connected around the world from desktop to mobile devices to laptops to browser. But how does this happens? How does data reach from one device to another? How do different devices interact with each other ? Behind all this, there is a hero that is API.
  • 4. Application Programming Interface (API) What is an API? Api is simply exposing business capabilities (web services) over the internet. OR API consists of a set of rules describing how one application can interact with another, and the mechanisms that allow such interaction to happen.
  • 5. XYZ Restaurant **Logos and Trademarks are owned by their respective owners
  • 6. Ways to Access Web Services! There are two ways to access Web Services. • Simple Object Access Protocol (SOAP). • Representational State Transfer Protocol (REST).
  • 7. SOAP The Granddaddy of Web Services Interfaces. • XML based messaging protocol. • Platform and Language Independent. • SOAP has built-in stateful operations. • SOAP is complex, yet well formatted.
  • 8. REST The easy way to expose Web Services. (REST + JSON) • Uses HTTP to perform CRUD. • Platform and Language Independent. • REST is naturally stateless. • REST is easy to understand.
  • 9. ABC Flight Website **Logos and Trademarks are owned by their respective owners
  • 10. Flight Aggregator Application **Logos and Trademarks are owned by their respective owners
  • 11. Benefits of API • Helps making money (ebay) • Helps saving money (AWS) • Helps building brand (Google Map) • Move to the CLOUD (shopify) • Omni presence (Netflix)
  • 12. Why we need API? We need to have a Web API if we want to store and process our data in server and let any other application (web application, mobile application, IoT devices etc.) request and get data from that server if needed.
  • 13. Authenticati on • Basic access authentication. • OAUTH authentication.
  • 14. Basic access authentication **Logos and Trademarks are owned by their respective owners
  • 15. OAUTH **Logos and Trademarks are owned by their respective owners
  • 16. How to build API in Magento 1? Magento supports both SOAP and RESTful APIs’
  • 17. Create SOAP API in Magento 1? Required files to create SOAP apis’ • api.xml (app/code/code_pool/namespace/module _name/etc/api.xml) • wsdl.xml (app/code/code_pool/namespace/module _name/etc/api.xml) • Api functionality or business logic (app/code/code_pool/namespace/module _name/Model/Api.php)
  • 18. Create REST API in Magento 1? Required files to create REST apis’ • api2.xml (app/code/code_pool/namespace/module _name/etc/api2.xml) • Api functionality or business logic (app/code/code_pool/namespace/module _name/Model/Api2/your_api_file.php)
  • 19. Create API in Magento2? Required files to create apis’ • webapi.xml (vendor/namespace/module_name/etc/w ebapi.xml) • Api functionality or business logic (vendor/namespace/module_name/Api/y our_api_file.php)
  • 20. webapi.xml <route url="/V1/module_name" method="POST"> <service class="namespacemodule_nameApiyour_api_file_name" method="doSomething"/> </route> URL will be your_domain/V1/module_name POST Api functionality public function doSomething () { // your business logic }
  • 22. You may now ask questions