Skip to content
Browse files

YQL table to track packages in Brazil Postal service.

  • Loading branch information...
1 parent 96713e8 commit b890c7b48c062a12beb08d3cb0268b79645a6aa4 @guilhermechapiewski guilhermechapiewski committed with sh1mmer
Showing with 17 additions and 0 deletions.
  1. +17 −0 brazil/correios/brazil.correios.encomendas.xml
View
17 brazil/correios/brazil.correios.encomendas.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd">
+ <meta>
+ <author>Guilherme Chapiewski</author>
+ <sampleQuery>select * from {table} where numero='EC884014459BR'</sampleQuery>
+ </meta>
+ <bindings>
+ <select itemPath="correios.encomenda" produces="XML">
+ <urls>
+ <url>http://correios-api.appspot.com/yql</url>
+ </urls>
+ <inputs>
+ <key id="numero" type="xs:string" paramType="query" required="true" />
+ </inputs>
+ </select>
+ </bindings>
+</table>

0 comments on commit b890c7b

Please sign in to comment.
Something went wrong with that request. Please try again.