SlideShare a Scribd company logo
1 of 27
Co znamená
WP REST API
WP REST API
REST
ARCHITEKTURA ROZHRANÍ DISTRIBUCE DAT
KOMUNIKACE POMOCÍ HTTP PROTOKOLU
GET, POST, DELETE, PUT
XML-RPC, SOAP
API
ROZHRANÍ PRO PROGRAMOVÁNÍ
APLIKACÍ
SOUBORY FUNKCÍ
KOMUNIKACE
KOMUNIKACE
HTTP POŽADAVEK
KOMUNIKACE
API FUNKCE ZAVOLÁ APLIKACI
KOMUNIKACE
APLIKACE VRÁTÍ DATA
KOMUNIKACE
HTTP ODPOVĚĎ
FORMÁT
XML
<XML>
<ITEM>Položka</XML>
</XML>
JSON
{ “klíč” : “hodnota”,
“item” : “první”,
“url” : “http:necoc.cz” }
WP REST API
WORDPRESS PLUGIN
V BUDOUCNU SOUČÁST
WORDPRESSU
WP REST API
http://wp-api.org/
https://wordpress.org/plugins/json-rest-api/
CO MOHU DĚLAT S
WP REST API?
COKOLIV!
SNADNO ZÍSKAT
DATA
ČLÁNKY
STRÁNKY
TAXONOMIE
UŽIVATELE
KOMENTÁŘE
MÉDIA
A TO VŠE V
JSON
http://demo.wp-api.org/wp-json/wp/v2/pages
http://demo.wp-api.org/wp-json/wp/v2/posts
http://demo.wp-api.org/wp-json/wp/v2/users
http://demo.wp-api.org/wp-json/wp/v2/media
JAVASCRIPT JE
BUDOUCNOST
PLUGINY I ŠABLONY
NAČÍTÁNÍ OBSAHU
BEZ NUTNOSTI
OBNOVENÍ STRÁNKY
MOŽNOST
KOMUNIKACE SE
VZDÁLENÝMI WEBY
TVORBA
ROZSÁHLEJŠÍCH
PROJEKTŮ
V PHP
PROVÁZÁNÍ VÍCE
WEBŮ
SNADNÁ KOMUNIKACE
JEDNOTNÝ FORMÁT DAT
MULTI ESHOPY
FIREMNÍ CRM
PŘÍKLAD POUŽITÍ
JEDEN UŽIVATELSKÝ ÚČET
SDÍLENÝ MEZI
NĚKOLIKA WEBY
REGISTRACE UŽIVATELE
REGISTRACE UŽIVATELE
NA DALŠÍM WEBU
http://demo.cz/wp-json/wp/v-2/users
AKTUALIZACE
UŽIVATELE
ZMĚNA ZAPOMENUTÉHO
HESLA
http://demo.cz/wp-json/wp/v-2/users
NEUSTÁLE AKTUÁLNÍ
DATA
CO ZMĚNTÍTE NA JEDNOM WEBU
BUDE AUTOMATICKY AKTUALIZOVÁNO
NA VŠECH OSTATNÍCH
ROZŠÍŘENÍ API
VLASTNÍ ROUTOVÁNÍ
VLASTNÍ ENDPOINTS
Děkuji za pozornost
Vladislav Musílek
toret.cz
musilda.cz
wp-see.com
vladislav.musilek@toret.cz

More Related Content

Viewers also liked

Introduction to WordPress REST API
Introduction to WordPress REST APIIntroduction to WordPress REST API
Introduction to WordPress REST APISimone D'Amico
 
SES Personalization, User Data & Search
SES Personalization, User Data & SearchSES Personalization, User Data & Search
SES Personalization, User Data & SearchJonathan Mendez
 
WordCamp Montreal 2016 WP-API + React with server rendering
WordCamp Montreal 2016  WP-API + React with server renderingWordCamp Montreal 2016  WP-API + React with server rendering
WordCamp Montreal 2016 WP-API + React with server renderingZiad Saab
 
Building WordPress Client Side Applications with WP and WP-API - #wcmia
Building WordPress Client Side Applications with WP and WP-API - #wcmiaBuilding WordPress Client Side Applications with WP and WP-API - #wcmia
Building WordPress Client Side Applications with WP and WP-API - #wcmiaRoy Sivan
 
C&M roles for performance
C&M roles for performanceC&M roles for performance
C&M roles for performanceSara
 
Funcion de lenguaje PSL
Funcion de lenguaje PSLFuncion de lenguaje PSL
Funcion de lenguaje PSLnalma pimentel
 
Reseña leer y escribir
Reseña leer y escribirReseña leer y escribir
Reseña leer y escribirYasuira15
 
No teu altar diante do trono
No teu altar   diante do tronoNo teu altar   diante do trono
No teu altar diante do tronoDieison Moraes
 
SHIWA student concept press release
SHIWA student concept press releaseSHIWA student concept press release
SHIWA student concept press releaseRushLane
 
WordPress, React, oh my! (DevelCZ 2016)
WordPress, React, oh my! (DevelCZ 2016)WordPress, React, oh my! (DevelCZ 2016)
WordPress, React, oh my! (DevelCZ 2016)Borek Bernard
 
Fenómenos paranormales
Fenómenos paranormalesFenómenos paranormales
Fenómenos paranormalesdomenika-15
 
25 perguntas poderosas para obter clientes de coaching
25 perguntas poderosas para obter clientes de coaching25 perguntas poderosas para obter clientes de coaching
25 perguntas poderosas para obter clientes de coachingValdirene Silva
 
Deploying web apis on core clr to docker
Deploying web apis on core clr to dockerDeploying web apis on core clr to docker
Deploying web apis on core clr to dockerGlenn Block
 
New placemaking
New placemakingNew placemaking
New placemaking지원 윤
 

Viewers also liked (15)

Introduction to WordPress REST API
Introduction to WordPress REST APIIntroduction to WordPress REST API
Introduction to WordPress REST API
 
SES Personalization, User Data & Search
SES Personalization, User Data & SearchSES Personalization, User Data & Search
SES Personalization, User Data & Search
 
WordCamp Montreal 2016 WP-API + React with server rendering
WordCamp Montreal 2016  WP-API + React with server renderingWordCamp Montreal 2016  WP-API + React with server rendering
WordCamp Montreal 2016 WP-API + React with server rendering
 
Building WordPress Client Side Applications with WP and WP-API - #wcmia
Building WordPress Client Side Applications with WP and WP-API - #wcmiaBuilding WordPress Client Side Applications with WP and WP-API - #wcmia
Building WordPress Client Side Applications with WP and WP-API - #wcmia
 
WordPress: React Way
WordPress: React WayWordPress: React Way
WordPress: React Way
 
C&M roles for performance
C&M roles for performanceC&M roles for performance
C&M roles for performance
 
Funcion de lenguaje PSL
Funcion de lenguaje PSLFuncion de lenguaje PSL
Funcion de lenguaje PSL
 
Reseña leer y escribir
Reseña leer y escribirReseña leer y escribir
Reseña leer y escribir
 
No teu altar diante do trono
No teu altar   diante do tronoNo teu altar   diante do trono
No teu altar diante do trono
 
SHIWA student concept press release
SHIWA student concept press releaseSHIWA student concept press release
SHIWA student concept press release
 
WordPress, React, oh my! (DevelCZ 2016)
WordPress, React, oh my! (DevelCZ 2016)WordPress, React, oh my! (DevelCZ 2016)
WordPress, React, oh my! (DevelCZ 2016)
 
Fenómenos paranormales
Fenómenos paranormalesFenómenos paranormales
Fenómenos paranormales
 
25 perguntas poderosas para obter clientes de coaching
25 perguntas poderosas para obter clientes de coaching25 perguntas poderosas para obter clientes de coaching
25 perguntas poderosas para obter clientes de coaching
 
Deploying web apis on core clr to docker
Deploying web apis on core clr to dockerDeploying web apis on core clr to docker
Deploying web apis on core clr to docker
 
New placemaking
New placemakingNew placemaking
New placemaking
 

Similar to WP Rest API

WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!Evan Mullins
 
Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5Charlin Agramonte
 
Building RESTful Applications
Building RESTful ApplicationsBuilding RESTful Applications
Building RESTful ApplicationsNabeel Yoosuf
 
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...Nguyen Duc Phu
 
A Conversation About REST
A Conversation About RESTA Conversation About REST
A Conversation About RESTJeremy Brown
 
A Conversation About REST
A Conversation About RESTA Conversation About REST
A Conversation About RESTMike Wilcox
 
Intro To Mashups
Intro To MashupsIntro To Mashups
Intro To Mashupstristan.woo
 
WordCamp Wilmington 2017 WP-API Why?
WordCamp Wilmington 2017   WP-API Why?WordCamp Wilmington 2017   WP-API Why?
WordCamp Wilmington 2017 WP-API Why?Evan Mullins
 
Programming With Amazon, Google, And E Bay
Programming With Amazon, Google, And E BayProgramming With Amazon, Google, And E Bay
Programming With Amazon, Google, And E BayPhi Jack
 
RESTful API-centric Universe
RESTful API-centric UniverseRESTful API-centric Universe
RESTful API-centric UniverseTihomir Opačić
 
WCF from the web developer
WCF from the web developerWCF from the web developer
WCF from the web developerFlorin Cardasim
 
RESTful services
RESTful servicesRESTful services
RESTful servicesgouthamrv
 

Similar to WP Rest API (20)

Apex REST
Apex RESTApex REST
Apex REST
 
An Introduction To REST API
An Introduction To REST APIAn Introduction To REST API
An Introduction To REST API
 
Salesforce Integration
Salesforce IntegrationSalesforce Integration
Salesforce Integration
 
Apitesting.pptx
Apitesting.pptxApitesting.pptx
Apitesting.pptx
 
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
 
Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5Xamarin Workshop Noob to Master – Week 5
Xamarin Workshop Noob to Master – Week 5
 
Building RESTful Applications
Building RESTful ApplicationsBuilding RESTful Applications
Building RESTful Applications
 
WebApp #3 : API
WebApp #3 : APIWebApp #3 : API
WebApp #3 : API
 
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
Hanoi php day 2008 - 05. nguyen hai nhat huy - building-restful-web-service-w...
 
A Conversation About REST
A Conversation About RESTA Conversation About REST
A Conversation About REST
 
A Conversation About REST
A Conversation About RESTA Conversation About REST
A Conversation About REST
 
Intro To Mashups
Intro To MashupsIntro To Mashups
Intro To Mashups
 
WordCamp Wilmington 2017 WP-API Why?
WordCamp Wilmington 2017   WP-API Why?WordCamp Wilmington 2017   WP-API Why?
WordCamp Wilmington 2017 WP-API Why?
 
Programming With Amazon, Google, And E Bay
Programming With Amazon, Google, And E BayProgramming With Amazon, Google, And E Bay
Programming With Amazon, Google, And E Bay
 
RESTful API-centric Universe
RESTful API-centric UniverseRESTful API-centric Universe
RESTful API-centric Universe
 
WCF from the web developer
WCF from the web developerWCF from the web developer
WCF from the web developer
 
Wcf for the web developer
Wcf for the web developerWcf for the web developer
Wcf for the web developer
 
Web api
Web apiWeb api
Web api
 
JSON and REST
JSON and RESTJSON and REST
JSON and REST
 
RESTful services
RESTful servicesRESTful services
RESTful services
 

More from Vladislav Musílek

More from Vladislav Musílek (11)

WordPress šablony
WordPress šablonyWordPress šablony
WordPress šablony
 
Woocommerce úpravy funkčnosti a ovlivňování dat
Woocommerce   úpravy funkčnosti a ovlivňování datWoocommerce   úpravy funkčnosti a ovlivňování dat
Woocommerce úpravy funkčnosti a ovlivňování dat
 
Jak postavit web na word pressu
Jak postavit web na word pressuJak postavit web na word pressu
Jak postavit web na word pressu
 
Word press šablony child theme
Word press šablony   child themeWord press šablony   child theme
Word press šablony child theme
 
WordPress Affiliate a XML feedy
WordPress Affiliate a XML feedyWordPress Affiliate a XML feedy
WordPress Affiliate a XML feedy
 
WordPress šablony
WordPress šablony WordPress šablony
WordPress šablony
 
Top plugins for woo commerce eshop
Top plugins for woo commerce eshopTop plugins for woo commerce eshop
Top plugins for woo commerce eshop
 
Woo commerce e-shop
Woo commerce e-shopWoo commerce e-shop
Woo commerce e-shop
 
Je WooCommerce vhodná pro eshop?
Je WooCommerce vhodná pro eshop?Je WooCommerce vhodná pro eshop?
Je WooCommerce vhodná pro eshop?
 
Tvorba wordpress pluginů
Tvorba wordpress pluginůTvorba wordpress pluginů
Tvorba wordpress pluginů
 
Custom post types a Post Format
Custom post types a Post Format Custom post types a Post Format
Custom post types a Post Format
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 

Recently uploaded (20)

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 

WP Rest API