Skip to content

Instantly share code, notes, and snippets.

@devedetti
Last active January 1, 2016 13:28
Show Gist options
  • Select an option

  • Save devedetti/8151015 to your computer and use it in GitHub Desktop.

Select an option

Save devedetti/8151015 to your computer and use it in GitHub Desktop.
Ejemplo de Cartero loco
Trackeo internacional
$ python correo.py RGxxx606xxxDE
Buscando información para: RGxxx606xxxDE ...
+-------------------+-----------+--------------------+------------------------------------------+--------+--------+
| Fecha | País | Oficina | Evento | Motivo | Acción |
+-------------------+-----------+--------------------+------------------------------------------+--------+--------+
| 13-Dec-2013 11:07 | GERMANY | | Receive item from customer (Otb) | | |
| 16-Dec-2013 12:08 | GERMANY | | Insert item into bag (Otb) | | |
| 17-Dec-2013 07:00 | GERMANY | | Send item abroad (EDI-received) | | |
| 19-Dec-2013 17:13 | ARGENTINA | BUENOS AIRES AVION | Receive item at office of exchange (Inb) | | |
+-------------------+-----------+--------------------+------------------------------------------+--------+--------+
Track ID nacional: RDxxx199xxxAR
+-------------------+----------------------+------------------------------------+--------+
| Fecha | Planta | Historia | Estado |
+-------------------+----------------------+------------------------------------+--------+
| 19-Dec-2013 17:13 | CTP CPI-BUENOS AIRES | LLEGADA DEL PAÍS | |
| 20-Dec-2013 13:25 | CTP CPI-BUENOS AIRES | EN PROCESO DE CLASIFICACIÓN | |
| 21-Dec-2013 08:41 | CTP BUENOS AIRES | LLEGADA AL CENTRO DE PROCESAMIENTO | |
| 21-Dec-2013 13:57 | CTP BUENOS AIRES | EN PROCESO DE CLASIFICACIÓN | |
+-------------------+----------------------+------------------------------------+--------+
Trackeo nacional
$ python correo.py RDxxx199xxxAR
Buscando información para: RDxxx199xxxAR ...
+-------------------+----------------------+------------------------------------+--------+
| Fecha | Planta | Historia | Estado |
+-------------------+----------------------+------------------------------------+--------+
| 21-Dec-2013 13:57 | CTP BUENOS AIRES | EN PROCESO DE CLASIFICACIÓN | |
| 21-Dec-2013 08:41 | CTP BUENOS AIRES | LLEGADA AL CENTRO DE PROCESAMIENTO | |
| 20-Dec-2013 13:25 | CTP CPI-BUENOS AIRES | EN PROCESO DE CLASIFICACIÓN | |
| 19-Dec-2013 17:13 | CTP CPI-BUENOS AIRES | LLEGADA DEL PAÍS | |
+-------------------+----------------------+------------------------------------+--------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment