padrondownloader

package
v0.0.0-...-1bdabf6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2015 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProvinciaDownloader

type ProvinciaDownloader struct {
	ProvinciasList []string
	TmpDir         string
	// contains filtered or unexported fields
}

func NewDownloader

func NewDownloader() ProvinciaDownloader

ProvinciaDownloader creates a ProvinciaDownloader object

func (*ProvinciaDownloader) GetPadron

func (p *ProvinciaDownloader) GetPadron()

GetPadron iterates through the list of "provincias" and calls the url donwloader

func (*ProvinciaDownloader) GetProvincaFilePath

func (p *ProvinciaDownloader) GetProvincaFilePath(provincia string) string

GetProvincaFilePath returs the file path

func (*ProvinciaDownloader) GetProvinciasList

func (p *ProvinciaDownloader) GetProvinciasList() []string

GetProvinciasList returs the slice of provincias

Jump to

Keyboard shortcuts

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