Introducción a Open Platform - La API Rest de Mercado Libre
-
Upload
melidevelopers -
Category
Technology
-
view
104 -
download
3
Transcript of Introducción a Open Platform - La API Rest de Mercado Libre
![Page 1: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/1.jpg)
Agosto 2016
First 90Introducción al API Rest
DevConf
![Page 2: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/2.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Agenda
+ Contexto General
+ Rest Full API
+ Conceptos
+ Testing de Aplicaciones & Tools
![Page 3: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/3.jpg)
Contexto
![Page 4: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/4.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Ecosistema● +3000 búsquedas por
segundo
● +2200 Servidores Virtuales (Webservers, Jobs, workers, etc)
● +25 millones request/min
● +85 bases de datos
![Page 5: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/5.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Estado de Situación -> MonolíticoDependencia en el
desarrollo. Un solo repositorio
Arquitectura Monolítica. Un solo ejecutable para el
delivery
Pasos a producción Caóticos
Imposibilidad de acceso a los recursos desde el
exterior
Velocidad en el desarrollo
Escalar el equipo?
Una sola tecnología base/ infinidad de casos de test
![Page 6: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/6.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Proceso de Migración● Comemos el pescado que vendemos● Compartimos el Api que usamos para el front
![Page 7: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/7.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Cambios en producción
● Cambios en producción cada 2 semanas
● Cambios en producción 400 por dia
![Page 8: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/8.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Resultado
● Arquitectura Distribuida● Independencia entre
Departamentos ● Independencia de Tecnologías
![Page 9: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/9.jpg)
API
![Page 10: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/10.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Rest full
api.mercadolibre.com/users/items/orders
![Page 11: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/11.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Recursos = URL
/pictures/users/items/orders
/sites/MCO/search
/orders
![Page 12: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/12.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
API
![Page 13: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/13.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
API -Estándar del protocolo
https://api.mercadolibre.com/sites/MCO
![Page 14: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/14.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Http Status
![Page 15: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/15.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Http Status
![Page 16: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/16.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Http Status
![Page 17: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/17.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Http Status
![Page 18: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/18.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Http Status
![Page 19: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/19.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Http Status
![Page 20: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/20.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
JSON response
GET a https://api.mercadolibre.com/sites/MCO
![Page 21: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/21.jpg)
Conceptos
![Page 22: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/22.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Https
![Page 23: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/23.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Recursos Públicos
GET a https://api.mercadolibre.com/users/1979477
54
![Page 24: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/24.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Recursos Privados
GET https://api.mercadolibre.com/users/197947754?access_token=APP_USR
![Page 25: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/25.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
![Page 26: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/26.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
2.8 K
![Page 27: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/27.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Selección - Json Item Atributos
https://api.mercadolibre.com/items/MCO425476205?attributes=id,title,price
839 B
![Page 28: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/28.jpg)
![Page 29: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/29.jpg)
Testing & Tools
![Page 30: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/30.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Testing de Aplicación
http://developers.mercadolibre.com/es/realiza-pruebas/
![Page 31: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/31.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Tools
http://developers.mercadolibre.com/es/herramientas/
![Page 32: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/32.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
![Page 33: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/33.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
![Page 34: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/34.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
![Page 35: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/35.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
¿Qué podemos hacer con el API?
![Page 36: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/36.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Homologando mi App
http://apps.mercadolibre.com/
![Page 37: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/37.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Catálogo de Apps
![Page 38: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/38.jpg)
?
![Page 39: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/39.jpg)
MuchasGracias
![Page 40: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/40.jpg)
![Page 41: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/41.jpg)
Applications
![Page 42: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/42.jpg)
Cómo afrontó una integración?
![Page 43: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/43.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
developers.mercadolibre.com
![Page 44: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/44.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Cómo comenzar ….
applications.mercadolibre.com.co
![Page 45: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/45.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Cómo comenzar ….
![Page 46: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/46.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Cómo comenzar ….
![Page 47: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/47.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
configuración de la notificación
![Page 48: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/48.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Multiget
![Page 49: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/49.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Multiget
/items/MLA629112495
/items/MLA623745283
/items/MLA616341170
/items/MLA623745173
X 4
![Page 50: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/50.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Multiget
/items?ids=MLA629112495,MLA623745283,MLA616341170, MLA623745173
X 1
![Page 51: Introducción a Open Platform - La API Rest de Mercado Libre](https://reader035.fdocuments.us/reader035/viewer/2022062503/58e593e91a28abdd148b5919/html5/thumbnails/51.jpg)
This is our visionBuilding the foundation to Build a 3B Company by FY20
Multiget + Selección
/items?
ids=MLA629112495,MLA623745283,MLA616341170,MLA623745173&attributes=id,title,price,picture
5X más rápido10X más corto