Skip to main content

A simple Python client for the BloomSky API.

Project description

https://img.shields.io/travis/tylerdave/bloomsky-api.svg https://img.shields.io/pypi/v/bloomsky-api.svg https://coveralls.io/repos/github/tylerdave/bloomsky-api/badge.svg?branch=master Documentation Status

A simple Python client for the BloomSky API.

Note: Neither this package nor its maintainer are affiliated with BloomSky.

For more information about the BloomSky device and its API, see: http://weatherlution.com/bloomsky-api/

Prerequisites

Getting Started

Installation

pip install BloomSky-API

Usage

You can either store the API key in an environment variable named BLOOMSKY_API_KEY or provide it as an argument when creating the client.

Stored in environment variable:

import bloomsky_api
client = bloomsky_api.BloomSkyAPIClient()
data = client.get_data()

Provided via argument:

import bloomsky_api
client = bloomsky_api.BloomSkyAPIClient(api_key='Your-real-API-key-goes-here')
data = client.get_data()

Data

The returned data contains all of the information from the API response but with more Pythonic names and data types.

History

  • 0.2.0 - 2016-08-22

    • Add CLI

  • 0.1.0 - 2016-08-21

    • Convert timestamp to ISO timestamp accounting for offset

  • 0.0.1 - 2016-08-20

    • Initial release!

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

BloomSky-API-0.2.2.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

BloomSky_API-0.2.2-py2.py3-none-any.whl (7.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file BloomSky-API-0.2.2.tar.gz.

File metadata

File hashes

Hashes for BloomSky-API-0.2.2.tar.gz
Algorithm Hash digest
SHA256 1075a45a3a4abc914f83453842e5c2c6f3e925ee3d540a1a717226d818b0c296
MD5 7078cfbf3efef7ee38fa32bbea2cc1d3
BLAKE2b-256 ecc1584842e1a3b5a6c7377241dec7d2effc66bc3a69d936205aacb813a7ddb1

See more details on using hashes here.

File details

Details for the file BloomSky_API-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for BloomSky_API-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 008fcbfa2c531c5342948975fdcb030d9ef0b1971f9a0a2130d4bf118cf27ea0
MD5 1d06c6fd179e567a5a29f04294521c01
BLAKE2b-256 b63ace1a90cbcfdb989422ce7bb014dabe7ca3d5e4b539efa1bb7f71c681c2ae

See more details on using hashes here.

Supported by

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