#!/usr/bin/env python
# -*- coding: utf-8 -*-

# correios-frete
# https://github.com/adonescunha/correios-frete

# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2013 <NAME> <EMAIL>

WSDL_URL = 'http://ws.correios.com.br/calculador/CalcPrecoPrazo.asmx?WSDL'

CAIXA_PACOTE = 1
ROLO_PRISMA  = 2
ENVELOPE     = 3

SEDEX                       = '40010'
SEDEX_A_COBRAR              = '40045'
SEDEX_A_COBRAR_COM_CONTRATO = '40126'
SEDEX_10                    = '40215'
SEDEX_HOJE                  = '40290'
SEDEX_COM_CONTRATO_1        = '40096'
SEDEX_COM_CONTRATO_2        = '40436'
SEDEX_COM_CONTRATO_3        = '40444'
SEDEX_COM_CONTRATO_4        = '40568'
SEDEX_COM_CONTRATO_5        = '40606'
SEDEX_COM_CONTRATO          = SEDEX_COM_CONTRATO_1
PAC                         = '41106'
PAC_COM_CONTRATO            = '41068'
E_SEDEX                     = '81019'
E_SEDEX_PRIORITARIO         = '81027'
E_SEDEX_EXPRESS             = '81035'
GRUPO_1_E_SEDEX             = '81868'
GRUPO_2_E_SEDEX             = '81833'
GRUPO_3_E_SEDEX             = '81850'

#!/usr/bin/env python
# -*- coding: utf-8 -*-

# correios-frete
# https://github.com/adonescunha/correios-frete

# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2013 <NAME> <EMAIL>

WSDL_URL = 'http://ws.correios.com.br/calculador/CalcPrecoPrazo.asmx?WSDL'

CAIXA_PACOTE = 1
ROLO_PRISMA  = 2
ENVELOPE     = 3

SEDEX                       = '40010'
SEDEX_A_COBRAR              = '40045'
SEDEX_A_COBRAR_COM_CONTRATO = '40126'
SEDEX_10                    = '40215'
SEDEX_HOJE                  = '40290'
SEDEX_COM_CONTRATO_1        = '40096'
SEDEX_COM_CONTRATO_2        = '40436'
SEDEX_COM_CONTRATO_3        = '40444'
SEDEX_COM_CONTRATO_4        = '40568'
SEDEX_COM_CONTRATO_5        = '40606'
SEDEX_COM_CONTRATO          = SEDEX_COM_CONTRATO_1
PAC                         = '41106'
PAC_COM_CONTRATO            = '41068'
E_SEDEX                     = '81019'
E_SEDEX_PRIORITARIO         = '81027'
E_SEDEX_EXPRESS             = '81035'
GRUPO_1_E_SEDEX             = '81868'
GRUPO_2_E_SEDEX             = '81833'
GRUPO_3_E_SEDEX             = '81850'

#!/usr/bin/env python # -*- coding: utf-8 -*- # correios-frete # https://github.com/adonescunha/correios-frete # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2013 <NAME> <EMAIL>