ibgelocalidades

package module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 4 Imported by: 1

README

go-ibge-localidades

Cliente Go para a API de Localidades do IBGE v1.0.0: https://servicodados.ibge.gov.br/api/docs/localidades.

Endpoints

  • DISTRITOS
    • Distritos
    • Distritos por identificador
    • Distritos por UF
    • Distritos por mesoregião
    • Distritos por município
    • Distritos por região imediata
    • Distritos por região intermediária
    • Distritos por região
  • MESORREGIÕES
    • Mesorregiões por UF
    • Mesorregiões
    • Mesorregiões por identificador
    • Mesorregiões por região
  • MICROREGIÕES
    • Microregiões por UF
    • Microregiões por mesorregião
    • Microregiões
    • Microregiões por identificador
    • Microregiões por região
  • MUNICÍPIOS
    • Municípios por UF
    • Municípios por mesorregião
    • Municípios por microrregião
    • Municípios
    • Municípios por identificador
    • Municípios por região imediata
    • Municípios por região intermediária
    • Municípios por região
  • PAISES
    • Países
    • País por identificador
  • REGIÕES
    • Regiões
    • Região por identificador
  • REGIÕES IMEDIATAS
    • Regiões imediatas por UF
    • Regiões imediatas
    • Regiões imediatas por identificador
    • Regiões imediatas por regiões intermediárias
    • Regiões imediatas por região
  • REGIÕES INTEGRADAS DESENVOLVIMENTO
    • Regiões integradas de desenvolvimento
    • Regiões integradas de desenvolvimento por identificador
  • REGIÕES INTERMEDIARIAS
    • Regiões intermediárias por UF
    • Regiões intermediárias
    • Região intermediária por identificador
    • Regioes intermediárias por região
  • REGIÕES METROPOLITANAS
    • Regiões metropolitanas por UF
    • Regiões metropolitanas por região
    • Regiões metropolitanas
    • Regiões metropolitanas por identificador
  • SUBDISTRITOS
    • Subdistritos por distrito
    • Subdistritos por UF
    • Subdistritos por mesorregião
    • Subdistritos por microrregião
    • Subdistritos por município
    • Subdistritos por região imediata
    • Subdistritos por região
    • Subdistritos
    • Subdistritos por identificador
  • UFS
    • UFs
    • UF por identificador
    • UFs por região

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) *api.API

New creates a new API client.

Types

type Option

type Option func(*options)

Option describes the type for functional options.

func WithTimeout

func WithTimeout(timeout time.Duration) Option

WithTimeout is the option to set a timeout to API requests.

func WithTransport

func WithTransport(rt http.RoundTripper) Option

WithTransport is the option to set a custom transport layer to the API client.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL