API's overview - MeliDevConf 2013 - SP

2,533 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,533
On SlideShare
0
From Embeds
0
Number of Embeds
1,743
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

API's overview - MeliDevConf 2013 - SP

  1. 1. MercadoLivre Developers Conference APIs Overview
  2. 2. Rafael Prenzier Software Engineer Hobbies: Movies, Series, Books Xbox 360 @prenzier
  3. 3. APIs OVERVIEW O QUE POSSO FAZER COM AS APIs DO MERCADOLIVRE? MercadoLivre Developers Conference
  4. 4. APIs OVERVIEW TUDO! MercadoLivre Developers Conference
  5. 5. APIs OVERVIEW TUDO!OBS: Menos Comprar... MercadoLivre Developers Conference
  6. 6. APIs OVERVIEW AGENDA ➔ Anúncios ➔ Perguntas e Respostas ➔ Pedidos ➔ Qualificação ➔ Buscas MercadoLivre Developers Conference
  7. 7. APIs OVERVIEW POST /items ➔ Título e Descrição ➔ Categoria ➔ Quantidade e Preço ➔ Nível de exposição ➔ Fotos MercadoLivre Developers Conference
  8. 8. { "title": "Playstation 3" , "subtitle": "Some subtitle here" , "category_id": "MLB5529", "price": 10, "currency_id": "BRL", "available_quantity" : 1, "buying_mode": "buy_it_now", "listing_type_id" : "bronze", "condition": "new", "description": "Item:, <strong> Incrível Playstation 3 </strong> vem com 2 controle e 3 ótimos jogos" , "video_id": "YOUTUBE_ID_HERE" , "warranty": "12 months", "pictures": [ { "source": http://upload.wikimedia.org//fd/Ray_Ban_Original_Wayfarer.jpg "}, { "source": "http://en.wikipedia.org/wiki/File:Teashades.gif" } ] } APIs OVERVIEW POST /items MercadoLivre Developers Conference
  9. 9. { "title": "Playstation 3" , "subtitle": "Some subtitle here" , "category_id": "MLB5529", "price": 10, "currency_id": "BRL", "available_quantity" : 1, "buying_mode": "buy_it_now", "listing_type_id" : "bronze", "condition": "new", "description": "Item:, <strong> Incrível Playstation 3 </strong> vem com 2 controle e 3 ótimos jogos" , "video_id": "YOUTUBE_ID_HERE" , "warranty": "12 months", "pictures": [ { "source": http://upload.wikimedia.org//fd/Ray_Ban_Original_Wayfarer.jpg "}, { "source": "http://en.wikipedia.org/wiki/File:Teashades.gif" } ] } APIs OVERVIEW POST /items MercadoLivre Developers Conference
  10. 10. { "title": "Playstation 3" , "subtitle": "Some subtitle here" , "category_id": "MLB5529", "price": 10, "currency_id": "BRL", "available_quantity" : 1, "buying_mode": "buy_it_now", "listing_type_id" : "bronze", "condition": "new", "description": "Item:, <strong> Incrível Playstation 3 </strong> vem com 2 controle e 3 ótimos jogos" , "video_id": "YOUTUBE_ID_HERE" , "warranty": "12 months", "pictures": [ { "source": http://upload.wikimedia.org//fd/Ray_Ban_Original_Wayfarer.jpg "}, { "source": "http://en.wikipedia.org/wiki/File:Teashades.gif" } ] } APIs OVERVIEW POST /items MercadoLivre Developers Conference
  11. 11. { "title": "Playstation 3" , "subtitle": "Some subtitle here" , "category_id": "MLB5529", "price": 10, "currency_id": "BRL", "available_quantity" : 1, "buying_mode": "buy_it_now", "listing_type_id" : "bronze", "condition": "new", "description": "Item:, <strong> Incrível Playstation 3 </strong> vem com 2 controle e 3 ótimos jogos" , "video_id": "YOUTUBE_ID_HERE" , "warranty": "12 months", "pictures": [ { "source": http://upload.wikimedia.org//fd/Ray_Ban_Original_Wayfarer.jpg "}, { "source": "http://en.wikipedia.org/wiki/File:Teashades.gif" } ] } APIs OVERVIEW POST /items MercadoLivre Developers Conference
  12. 12. { "title": "Playstation 3" , "subtitle": "Some subtitle here" , "category_id": "MLB5529", "price": 10, "currency_id": "BRL", "available_quantity" : 1, "buying_mode": "buy_it_now", "listing_type_id" : "bronze", "condition": "new", "description": "Item:, <strong> Incrível Playstation 3 </strong> vem com 2 controle e 3 ótimos jogos" , "video_id": "YOUTUBE_ID_HERE" , "warranty": "12 months", "pictures": [ { "source": http://upload.wikimedia.org//fd/Ray_Ban_Original_Wayfarer.jpg "}, { "source": "http://en.wikipedia.org/wiki/File:Teashades.gif" } ] } APIs OVERVIEW POST /items MercadoLivre Developers Conference
  13. 13. { "title": "Playstation 3" , "subtitle": "Some subtitle here" , "category_id": "MLB5529", "price": 10, "currency_id": "BRL", "available_quantity" : 1, "buying_mode": "buy_it_now", "listing_type_id" : "bronze", "condition": "new", "description": "Item:, <strong> Incrível Playstation 3 </strong> vem com 2 controle e 3 ótimos jogos" , "video_id": "YOUTUBE_ID_HERE" , "warranty": "12 months", "pictures": [ { "source": http://upload.wikimedia.org//fd/Ray_Ban_Original_Wayfarer.jpg "}, { "source": "http://en.wikipedia.org/wiki/File:Teashades.gif" } ] } APIs OVERVIEW POST /items MercadoLivre Developers Conference
  14. 14. { "title": "Playstation 3" , "subtitle": "Some subtitle here" , "category_id": "MLB5529", "price": 10, "currency_id": "BRL", "available_quantity" : 1, "buying_mode": "buy_it_now", "listing_type_id" : "bronze", "condition": "new", "description": "Item:, <strong> Incrível Playstation 3 </strong> vem com 2 controle e 3 ótimos jogos" , "video_id": "YOUTUBE_ID_HERE" , "warranty": "12 months", "pictures": [ { "source": http://upload.wikimedia.org//fd/Ray_Ban_Original_Wayfarer.jpg "}, { "source": "http://en.wikipedia.org/wiki/File:Teashades.gif" } ] } APIs OVERVIEW POST /items MercadoLivre Developers Conference
  15. 15. APIs OVERVIEW POST /items MELIAPP MercadoLivre Developers Conference
  16. 16. APIs OVERVIEW POST /items MELIAPP POST MercadoLivre Developers Conference
  17. 17. APIs OVERVIEW POST /items MELIAPP POST MELIAPP MercadoLivre Developers Conference
  18. 18. APIs OVERVIEW POST /items MELIAPP POST 201 Created MELIAPP MercadoLivre Developers Conference
  19. 19. APIs OVERVIEW POST /items MELIAPP POST 201 Created MELIAPP { "id": "MLB502951323", "site_id": "MLB", "title": "Playstation 3", "sold_quantity": 0, "permalink": http://produto.mercadolivre.com.br/MLB-502951323.... … } MercadoLivre Developers Conference
  20. 20. APIs OVERVIEW POST /items MELIAPP POST 201 Created MELIAPP { "id": "MLB502951323", "site_id": "MLB", "title": "Playstation 3", "sold_quantity": 0, "permalink": http://produto.mercadolivre.com.br/MLB-502951323.... … } MercadoLivre Developers Conference
  21. 21. APIs OVERVIEW PUT /items/MLB502951323 MercadoLivre Developers Conference
  22. 22. APIs OVERVIEW PUT /items/MLB502951323 MELIAPP MercadoLivre Developers Conference
  23. 23. APIs OVERVIEW PUT /items/MLB502951323 MELIAPP PUT MercadoLivre Developers Conference
  24. 24. APIs OVERVIEW PUT /items/MLB502951323 MELIAPP PUT { "title": "Novo titulo", "price": 1000 } MercadoLivre Developers Conference
  25. 25. APIs OVERVIEW PUT /items/MLB502951323 MELIAPP PUT MELIAPP { "title": "Novo titulo", "price": 1000 } MercadoLivre Developers Conference
  26. 26. APIs OVERVIEW PUT /items/MLB502951323 MELIAPP PUT 200 OK MELIAPP { "title": "Novo titulo", "price": 1000 } MercadoLivre Developers Conference
  27. 27. APIs OVERVIEW PUT /items/MLB502951323 { "status": "paused" } MercadoLivre Developers Conference
  28. 28. APIs OVERVIEW { "listing_type_id": "silver", "quantity": 20, "price": 500 } POST /items/MLB502951323/relist MercadoLivre Developers Conference
  29. 29. APIs OVERVIEW Publicar POST /items Modificar PUT /items/MLB502951323 Republicar POST /items/MLB502951323/relist MercadoLivre Developers Conference
  30. 30. APIs OVERVIEW Publicar POST /items Modificar PUT /items/MLB502951323 Republicar POST /items/MLB502951323/relist MercadoLivre Developers Conference
  31. 31. APIs OVERVIEW AGENDA ➔ Anúncios ➔ Perguntas e Respostas ➔ Pedidos ➔ Qualificação ➔ Buscas MercadoLivre Developers Conference
  32. 32. APIs OVERVIEW POST /questions { "text": "Olá amigo, tem na cor preta?", "item_id": "MLB502951323" } MercadoLivre Developers Conference
  33. 33. APIs OVERVIEW Notificação MercadoLivre Developers Conference
  34. 34. APIs OVERVIEW Notificação MELIAPP MercadoLivre Developers Conference
  35. 35. APIs OVERVIEW Notificação MELIAPP POST MercadoLivre Developers Conference
  36. 36. APIs OVERVIEW Notificação MELIAPP POST { "user_id": 1234, "resource": "/questions/123123123", "topic": "questions", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  37. 37. APIs OVERVIEW Notificação MELIAPP POST { "user_id": 1234, "resource": "/questions/123123123", "topic": "questions", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  38. 38. APIs OVERVIEW Notificação MELIAPP POST { "user_id": 1234, "resource": "/questions/123123123", "topic": "questions", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  39. 39. APIs OVERVIEW Notificação MELIAPP POST { "user_id": 1234, "resource": "/questions/123123123", "topic": "questions", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  40. 40. APIs OVERVIEW Notificação MELIAPP POST MELIAPP { "user_id": 1234, "resource": "/questions/123123123", "topic": "questions", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  41. 41. APIs OVERVIEW Notificação MELIAPP POST 200 OK MELIAPP { "user_id": 1234, "resource": "/questions/123123123", "topic": "questions", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  42. 42. APIs OVERVIEW GET /questions/123123123 { "id": 123123123, "answer": null, "date_created": "2013-08-10T13:43:13.000-04:00", "item_id": "MLB502951323", "seller_id": xxxxxxx, "status": "UNANSWERED", "text": "Olá amigo, tem na cor preta?" "from": { "id": xxxxxxx, "answered_questions": 0 } } MercadoLivre Developers Conference
  43. 43. APIs OVERVIEW GET /questions/123123123 { "id": 123123123, "answer": null, "date_created": "2013-08-10T13:43:13.000-04:00", "item_id": "MLB502951323", "seller_id": xxxxxxx, "status": "UNANSWERED", "text": "Olá amigo, tem na cor preta?" "from": { "id": xxxxxxx, "answered_questions": 0 } } MercadoLivre Developers Conference
  44. 44. APIs OVERVIEW GET /questions/123123123 { "id": 123123123, "answer": null, "date_created": "2013-08-10T13:43:13.000-04:00", "item_id": "MLB502951323", "seller_id": xxxxxxx, "status": "UNANSWERED", "text": "Olá amigo, tem na cor preta?" "from": { "id": xxxxxxx, "answered_questions": 0 } } MercadoLivre Developers Conference
  45. 45. APIs OVERVIEW POST /answers { "question_id": 123123123, "text": "Sim, temos na cor preta?" } MercadoLivre Developers Conference
  46. 46. APIs OVERVIEW DELETE /questions/123123123 MercadoLivre Developers Conference
  47. 47. APIs OVERVIEW AGENDA ➔ Anúncios ➔ Perguntas e Respostas ➔ Pedidos ➔ Qualificação ➔ Buscas MercadoLivre Developers Conference
  48. 48. APIs OVERVIEW Notificação MercadoLivre Developers Conference
  49. 49. APIs OVERVIEW Notificação MELIAPP MercadoLivre Developers Conference
  50. 50. APIs OVERVIEW Notificação MELIAPP POST MercadoLivre Developers Conference
  51. 51. APIs OVERVIEW Notificação MELIAPP POST { "user_id": 1234, "resource": "/orders/123123123", "topic": "orders", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  52. 52. APIs OVERVIEW Notificação MELIAPP POST { "user_id": 1234, "resource": "/orders/123123123", "topic": "orders", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  53. 53. APIs OVERVIEW Notificação MELIAPP POST { "user_id": 1234, "resource": "/orders/123123123", "topic": "orders", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  54. 54. APIs OVERVIEW Notificação MELIAPP POST { "user_id": 1234, "resource": "/orders/123123123", "topic": "orders", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  55. 55. APIs OVERVIEW Notificação MELIAPP POST MELIAPP { "user_id": 1234, "resource": "/orders/123123123", "topic": "orders", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  56. 56. APIs OVERVIEW Notificação MELIAPP POST 200 OK MELIAPP { "user_id": 1234, "resource": "/orders/123123123", "topic": "orders", "received": "2013-08-09T14:59:15+00:00", "sent": "2013-08-09T14:59:15+00:00" } MercadoLivre Developers Conference
  57. 57. APIs OVERVIEW GET /orders/123123123 { "id": 785128848, "status": "paid", "status_detail": null, "date_created": "2013-08-25T15:55:03.000-04:00", "date_closed": "2013-08-25T15:55:03.000-04:00", "order_items": [{ "item": { "id": "MLB500xxxxx9", "title": "Playstation 3", "variation_id": null, "variation_attributes": [ ] }, "quantity": 1, "unit_price": 99.98, "currency_id": "BRL", }], MercadoLivre Developers Conference
  58. 58. APIs OVERVIEW GET /orders/123123123 { "id": 785128848, "status": "paid", "status_detail": null, "date_created": "2013-08-25T15:55:03.000-04:00", "date_closed": "2013-08-25T15:55:03.000-04:00", "order_items": [{ "item": { "id": "MLB500xxxxx9", "title": "Playstation 3", "variation_id": null, "variation_attributes": [ ] }, "quantity": 1, "unit_price": 99.98, "currency_id": "BRL", }], MercadoLivre Developers Conference
  59. 59. APIs OVERVIEW GET /orders/123123123 { "id": 785128848, "status": "paid", "status_detail": null, "date_created": "2013-08-25T15:55:03.000-04:00", "date_closed": "2013-08-25T15:55:03.000-04:00", "order_items": [{ "item": { "id": "MLB500xxxxx9", "title": "Playstation 3", "variation_id": null, "variation_attributes": [ ] }, "quantity": 1, "unit_price": 99.98, "currency_id": "BRL", }], MercadoLivre Developers Conference
  60. 60. APIs OVERVIEW GET /orders/123123123 { "id": 785128848, "status": "paid", "status_detail": null, "date_created": "2013-08-25T15:55:03.000-04:00", "date_closed": "2013-08-25T15:55:03.000-04:00", "order_items": [{ "item": { "id": "MLB500xxxxx9", "title": "Playstation 3", "variation_id": null, "variation_attributes": [ ] }, "quantity": 1, "unit_price": 99.98, "currency_id": "BRL", }], MercadoLivre Developers Conference
  61. 61. APIs OVERVIEW GET /orders/123123123 "buyer": { "id": 123xxxx64, "nickname": "XXXXXXXXXXXXXXX", "email": "email@teste.com.br", "phone": { "area_code": " ", "number": "919xxxxx183", "extension": null, }, "first_name": "usuario", "last_name": "teste", "billing_info": { "doc_type": "CPF", "doc_number": "663xxxxx53", }, }, MercadoLivre Developers Conference
  62. 62. APIs OVERVIEW GET /orders/123123123 "buyer": { "id": 123xxxx64, "nickname": "XXXXXXXXXXXXXXX", "email": "email@teste.com.br", "phone": { "area_code": " ", "number": "919xxxxx183", "extension": null, }, "first_name": "usuario", "last_name": "teste", "billing_info": { "doc_type": "CPF", "doc_number": "663xxxxx53", }, }, MercadoLivre Developers Conference
  63. 63. APIs OVERVIEW GET /orders/123123123 "buyer": { "id": 123xxxx64, "nickname": "XXXXXXXXXXXXXXX", "email": "email@teste.com.br", "phone": { "area_code": " ", "number": "919xxxxx183", "extension": null, }, "first_name": "usuario", "last_name": "teste", "billing_info": { "doc_type": "CPF", "doc_number": "663xxxxx53", }, }, MercadoLivre Developers Conference
  64. 64. APIs OVERVIEW GET /orders/123123123 "buyer": { "id": 123xxxx64, "nickname": "XXXXXXXXXXXXXXX", "email": "email@teste.com.br", "phone": { "area_code": " ", "number": "919xxxxx183", "extension": null, }, "first_name": "usuario", "last_name": "teste", "billing_info": { "doc_type": "CPF", "doc_number": "663xxxxx53", }, }, MercadoLivre Developers Conference
  65. 65. APIs OVERVIEW GET /orders/123123123 "buyer": { "id": 123xxxx64, "nickname": "XXXXXXXXXXXXXXX", "email": "email@teste.com.br", "phone": { "area_code": " ", "number": "919xxxxx183", "extension": null, }, "first_name": "usuario", "last_name": "teste", "billing_info": { "doc_type": "CPF", "doc_number": "663xxxxx53", }, }, MercadoLivre Developers Conference
  66. 66. APIs OVERVIEW GET /orders/123123123 "buyer": { "id": 123xxxx64, "nickname": "XXXXXXXXXXXXXXX", "email": "email@teste.com.br", "phone": { "area_code": " ", "number": "919xxxxx183", "extension": null, }, "first_name": "usuario", "last_name": "teste", "billing_info": { "doc_type": "CPF", "doc_number": "663xxxxx53", }, }, MercadoLivre Developers Conference
  67. 67. APIs OVERVIEW GET /orders/123123123 "buyer": { "id": 123xxxx64, "nickname": "XXXXXXXXXXXXXXX", "email": "email@teste.com.br", "phone": { "area_code": " ", "number": "919xxxxx183", "extension": null, }, "first_name": "usuario", "last_name": "teste", "billing_info": { "doc_type": "CPF", "doc_number": "663xxxxx53", }, }, MercadoLivre Developers Conference
  68. 68. APIs OVERVIEW GET /orders/123123123 "payments": [ { "id": 64xxxxx64, "transaction_amount": 99.98, "coupon_amount": 0, "currency_id": "BRL", "status": "approved", "date_created": "2013-08-25T16:04:26.000-04:00", "date_last_modified": "2013-08-25T16:04:26.000-04:00", }, ], MercadoLivre Developers Conference
  69. 69. APIs OVERVIEW GET /orders/123123123 "payments": [ { "id": 64xxxxx64, "transaction_amount": 99.98, "coupon_amount": 0, "currency_id": "BRL", "status": "approved", "date_created": "2013-08-25T16:04:26.000-04:00", "date_last_modified": "2013-08-25T16:04:26.000-04:00", }, ], MercadoLivre Developers Conference
  70. 70. APIs OVERVIEW GET /orders/123123123 "payments": [ { "id": 64xxxxx64, "transaction_amount": 99.98, "coupon_amount": 0, "currency_id": "BRL", "status": "approved", "date_created": "2013-08-25T16:04:26.000-04:00", "date_last_modified": "2013-08-25T16:04:26.000-04:00", }, ], MercadoLivre Developers Conference
  71. 71. APIs OVERVIEW GET /orders/123123123 "shipping": { "id": 2070xxx653, "date_first_printed": null, "shipping_mode": "me1", "service_id": 2, "shipment_type": "shipping", "status": "shipped", "currency_id": "BRL", "date_created": "2013-08-25T16:04:20.000-04:00", "receiver_address": { "address_line": "joao xxxxxxx angulo 1099", "id": 11xxxxx31, "zip_code": "68xxxxx00", "state": { "id": "BR-PA", "name": "Pará", }, MercadoLivre Developers Conference
  72. 72. APIs OVERVIEW GET /orders/123123123 "shipping": { "id": 2070xxx653, "date_first_printed": null, "shipping_mode": "me1", "service_id": 2, "shipment_type": "shipping", "status": "shipped", "currency_id": "BRL", "date_created": "2013-08-25T16:04:20.000-04:00", "receiver_address": { "address_line": "joao xxxxxxx angulo 1099", "id": 11xxxxx31, "zip_code": "68xxxxx00", "state": { "id": "BR-PA", "name": "Pará", }, MercadoLivre Developers Conference
  73. 73. APIs OVERVIEW AGENDA ➔ Anúncios ➔ Perguntas e Respostas ➔ Pedidos ➔ Qualificação ➔ Buscas MercadoLivre Developers Conference
  74. 74. APIs OVERVIEW POST /orders/123123123/feedback MercadoLivre Developers Conference
  75. 75. APIs OVERVIEW POST /orders/123123123/feedback MercadoLivre Developers Conference { "rating": "positive", "fullfiled": true, "message": "Recomendo a todos do MercadoLivre" }
  76. 76. APIs OVERVIEW POST /orders/123123123/feedback { "rating": "positive", "fullfiled": true, "message": "Recomendo a todos do MercadoLivre" } MercadoLivre Developers Conference
  77. 77. APIs OVERVIEW POST /orders/123123123/feedback { "rating": "positive", "fullfiled": true, "message": "Recomendo a todos do MercadoLivre" } MercadoLivre Developers Conference
  78. 78. APIs OVERVIEW POST /orders/123123123/feedback { "rating": "positive", "fullfiled": true, "message": "Recomendo a todos do MercadoLivre" } MercadoLivre Developers Conference
  79. 79. APIs OVERVIEW POST /orders/123123123/feedback { "rating": "positive", "fullfiled": true, "message": "Recomendo a todos do MercadoLivre" } LIKE A SIR MercadoLivre Developers Conference
  80. 80. APIs OVERVIEW AGENDA ➔ Anúncios ➔ Perguntas e Respostas ➔ Pedidos ➔ Qualificação ➔ Buscas MercadoLivre Developers Conference
  81. 81. APIs OVERVIEW GET /sites/MLB/search Alguns filtros: Por keyword GET /sites/MLB/search?q=ipod Por Categoria GET /sites/MLB/search?category=MLB105449 Por Nickname GET /sites/MLB/search?nickname=$NICKNAME Por Seller_id GET /sites/MLB/search?seller_id=89827346 MercadoLivre Developers Conference
  82. 82. APIs OVERVIEW GET /sites/MLB/search Alguns filtros: Por keyword GET /sites/MLB/search?q=ipod Por Categoria GET /sites/MLB/search?category=MLB105449 Por Nickname GET /sites/MLB/search?nickname=$NICKNAME Por Seller_id GET /sites/MLB/search?seller_id=89827346 MercadoLivre Developers Conference
  83. 83. APIs OVERVIEW GET /sites/MLB/search Alguns filtros: Por keyword GET /sites/MLB/search?q=ipod Por Categoria GET /sites/MLB/search?category=MLB105449 Por Nickname GET /sites/MLB/search?nickname=$NICKNAME Por Seller_id GET /sites/MLB/search?seller_id=89827346 MercadoLivre Developers Conference
  84. 84. APIs OVERVIEW GET /sites/MLB/search Alguns filtros: Por keyword GET /sites/MLB/search?q=ipod Por Categoria GET /sites/MLB/search?category=MLB105449 Por Nickname GET /sites/MLB/search?nickname=$NICKNAME Por Seller_id GET /sites/MLB/search?seller_id=89827346 MercadoLivre Developers Conference
  85. 85. APIs OVERVIEW GET /sites/MLB/search Combinações: GET /sites/MLB/search?category=MLB105449&seller_id=89827346&q=ipod Ordenação – Sort GET /sites/MLB/search?q=ipod&sort=price_asc Paginação – Limit e Offset GET /sites/MLB/search?q=ipod&offset=100&limit=10 MercadoLivre Developers Conference
  86. 86. APIs OVERVIEW GET /sites/MLB/search Combinações: GET /sites/MLB/search?category=MLB105449&seller_id=89827346&q=ipod Ordenação – Sort GET /sites/MLB/search?q=ipod&sort=price_asc Paginação – Limit e Offset GET /sites/MLB/search?q=ipod&offset=100&limit=10 MercadoLivre Developers Conference
  87. 87. APIs OVERVIEW GET /sites/MLB/search Combinações: GET /sites/MLB/search?category=MLB105449&seller_id=89827346&q=ipod Ordenação – Sort GET /sites/MLB/search?q=ipod&sort=price_asc Paginação – Limit e Offset GET /sites/MLB/search?q=ipod&offset=100&limit=10 MercadoLivre Developers Conference
  88. 88. APIs OVERVIEW GET /sites/MLB/search Combinações: GET /sites/MLB/search?category=MLB105449&seller_id=89827346&q=ipod Ordenação – Sort GET /sites/MLB/search?q=ipod&sort=price_asc Paginação – Limit e Offset GET /sites/MLB/search?q=ipod&offset=100&limit=10 MercadoLivre Developers Conference
  89. 89. APIs OVERVIEW AGENDA ➔ Anúncios ➔ Perguntas e Respostas ➔ Pedidos ➔ Qualificação ➔ Buscas MercadoLivre Developers Conference
  90. 90. APIs OVERVIEW MercadoLivre Developers Conference
  91. 91. Perguntas? Rafael Prenzier Software Engineer @prenzier

×