Skip to main content

Paquete para consultas y procesamiento de respuestas sobre la API de georef-ar

Project description

georef-ar-py

Paquete para consultas y procesamiento de respuestas sobre la API de georef-ar

Installation

Install from PyPi:

pip install georef-ar-py

Para usar la line a de comandos:

pip install "georef-ar-py[cli]"

Ejemplo de uso por linea de comando:

geoarpy --help

Usage: geoarpy [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  diff  georef-ar-py diff Commandline
  info  georef-ar-py diff Commandline

Obtener un resumen de una API

Usage: geoarpy info [OPTIONS]

  geoarpy info Commandline

  Obtienen un resumen de los registros en la API especificada

  url es el path a la API destino que se quiere consultar.

Options:
  --url TEXT  [default: https://apis.datos.gob.ar/georef/api/]
  --debug
  --help      Show this message and exit.

Obtener los datos de una API propia

geoarpy info --url "http://mi-api.ar/georef/api/"

Obtener los datos de la API oficial (https://apis.datos.gob.ar/georef/api/)

geoarpy info

Obtener las diferencias entre dos API's

Usage: geoarpy diff [OPTIONS] URL

  geoarpy diff Commandline

  Calcula las diferencias de registros entre dos API's. Guarda el resultado en
  archivos de formato csv y/o json.

  url es el path a la API destino que se quiere comparar.

Options:
  --origin_url TEXT               [default:
                                  https://apis.datos.gob.ar/georef/api/]
  --layer [provincias|departamentos|municipios|localidades-censales|asentamientos|localidades|calles]
                                  [default: all]
  --extension [json|csv|both]     [default: both]
  --debug
  --help                          Show this message and exit.

Comparar los datos de una API propia contra la API oficial

geoarpy diff "http://mi-api.ar/georef/api/"

Comparar los datos entre dos API's

geoarpy diff "http://mi-api_1.ar/georef/api/" --origin-url "http://mi-api_2.ar/georef/api/"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

georef-ar-py-0.0.3.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

georef_ar_py-0.0.3-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file georef-ar-py-0.0.3.tar.gz.

File metadata

  • Download URL: georef-ar-py-0.0.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for georef-ar-py-0.0.3.tar.gz
Algorithm Hash digest
SHA256 89ca7c07a695829428d1f640d272d3976c398ac78ce873b3ccaf3f3eba20d49a
MD5 dd36f93a4b655bc5aa18db7335f9bbbb
BLAKE2b-256 e1de43e0290397fa5aac2940601a540672e5d68d33e2a2960889d19052099621

See more details on using hashes here.

File details

Details for the file georef_ar_py-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: georef_ar_py-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for georef_ar_py-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 430e1269ba8d7b62f92d8a6cea9bb3efbc465f9bcd1646cc63b16391a0d35ecf
MD5 d63b92af2d47d255bde30ca361d1ba61
BLAKE2b-256 8659f34ec2fb002ec41db836769e09aba6da437f375e5beb4c23a24fce57c510

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page