prometeo.curp¶
API Client¶
-
class
prometeo.curp.client.
CurpAPIClient
(api_key, environment)[source]¶ API Client for CURP queries
-
query
(curp)[source]¶ Find the personal data associated with a CURP
- Parameters
curp (str) – The CURP of the person to query
- Return type
-
Enums¶
-
class
prometeo.curp.client.
State
[source]¶ The state a person is registered
-
AGUASCALIENTES
= 'AS'¶
-
BAJA_CALIFORNIA
= 'BC'¶
-
BAJA_CALIFORNIA_SUR
= 'BS'¶
-
CAMPECHE
= 'CC'¶
-
CHIAPAS
= 'CS'¶
-
CHIHUAHUA
= 'CH'¶
-
CIUDAD_DE_MEXICO
= 'DF'¶
-
COAHUILA
= 'CL'¶
-
COLIMA
= 'CM'¶
-
DURANGO
= 'DG'¶
-
ESTADO_DE_MEXICO
= 'MC'¶
-
GUANAJUATO
= 'GT'¶
-
GUERRERO
= 'GR'¶
-
HIDALGO
= 'HG'¶
-
JALISCO
= 'JC'¶
-
MICHOACAN
= 'MN'¶
-
MORELOS
= 'MS'¶
-
NACIDO_EN_EL_EXTRANJERO
= 'NE'¶
-
NAYARIT
= 'NT'¶
-
NUEVO_LEON
= 'NL'¶
-
OAXACA
= 'OC'¶
-
PUEBLA
= 'PL'¶
-
QUERETARO
= 'QT'¶
-
QUINTANA_ROO
= 'QR'¶
-
SAN_LUIS_POTOSI
= 'SP'¶
-
SINALOA
= 'SL'¶
-
SONORA
= 'SR'¶
-
TABASCO
= 'TC'¶
-
TAMAULIPAS
= 'TS'¶
-
TLAXCALA
= 'TL'¶
-
VERACRUZ
= 'VZ'¶
-
YUCATAN
= 'YN'¶
-
ZACATECA
= 'ZS'¶
-
Models¶
-
class
prometeo.curp.models.
DocumentData
(clave_entidad_registro, clave_municipio_registro, entidad_registro, tomo, foja, num_acta, municipio_registro, anio_reg, libro)¶ -
property
anio_reg
¶ Alias for field number 7
-
property
clave_entidad_registro
¶ Alias for field number 0
-
property
clave_municipio_registro
¶ Alias for field number 1
-
property
entidad_registro
¶ Alias for field number 2
-
property
foja
¶ Alias for field number 4
-
property
libro
¶ Alias for field number 8
-
property
municipio_registro
¶ Alias for field number 6
-
property
num_acta
¶ Alias for field number 5
-
property
tomo
¶ Alias for field number 3
-
property
-
prometeo.curp.models.
PersonalData
¶ alias of
prometeo.curp.models.DocumentData