tweetssampletocsv

package
v0.0.0-...-be7fb0b Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2020 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultFilename

func GetDefaultFilename() string

GetDefaultFilename default filename to use if none supplier

func RetrieveAndStore

func RetrieveAndStore(apiConfig *APIConfig, writer *csv.Writer, itemsToDownload int64)

RetrieveAndStore exposing main functionality of the package

func RetrieveAndStoreToCSV

func RetrieveAndStoreToCSV(apiConfig *APIConfig, targetFilename *string, maxItemsToDownload int64)

RetrieveAndStoreToCSV wraps retrieve and store

Types

type APIConfig

type APIConfig struct {
	ConsumerKey    string
	ConsumerSecret string
	AccessKey      string
	AccessSecret   string
}

APIConfig stores configuration to access Twitter's API

func GetConfigurationFromParameters

func GetConfigurationFromParameters(consumerKey *string, consumerSecret *string, accessKey *string, accessSecret *string) *APIConfig

GetConfigurationFromParameters assembles configuration parameters

Jump to

Keyboard shortcuts

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