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(anio_reg, municipio_registro, num_acta, foja, libro, clave_municipio_registro, tomo, entidad_registro, clave_entidad_registro)¶ -
property
anio_reg¶ Alias for field number 0
-
property
clave_entidad_registro¶ Alias for field number 8
-
property
clave_municipio_registro¶ Alias for field number 5
-
property
entidad_registro¶ Alias for field number 7
-
property
foja¶ Alias for field number 3
-
property
libro¶ Alias for field number 4
-
property
municipio_registro¶ Alias for field number 1
-
property
num_acta¶ Alias for field number 2
-
property
tomo¶ Alias for field number 6
-
property
-
prometeo.curp.models.PersonalData¶ alias of
prometeo.curp.models.DocumentData