Skip to content

haaspt/tap-darkskyapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tap-darkskyapi

A Singer Tap to extract historical and forecast weather data from the Dark Sky API.

How to use it

Install and Run

First, make sure Python 3 is installed on your system or follow these installation instructions for Mac or Ubuntu.

Then, get an access key from Dark Sky.

Then, convert config.sample.json to ~/singer.io/tap_darkskyapi_config.json; fill out your parameters.

It's recommended to use a virtualenv:

python3 -m venv ~/.virtualenvs/tap-darkskyapi
source ~/.virtualenvs/tap-darkskyapi/bin/activate
pip install -U pip setuptools
pip install -e '.'

Set up the target-csv virtual environment according to the instructions here. These commands will install tap-darkskyapi with pip, and then run it:

~/.virtualenvs/tap-darkskyapi/bin/tap-darkskyapi --config \ ~/singer.io/tap_darkskyapi_config.json | target-csv

The data will be written to a file called forecast.csv in your working directory.


About

A Singer.io tap for the Dark Sky weather API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages