Skip to main content

A simple Python client for the BloomSky API.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

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.0.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BloomSky_API-0.2.0-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: BloomSky-API-0.2.0.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BloomSky-API-0.2.0.tar.gz
Algorithm Hash digest
SHA256 80f71b4c3af6d23c51b7baf5abea925ef4c53cace26853a8e5003110e649cecb
MD5 f9ec2f9573de212fe2930a1e1fc82339
BLAKE2b-256 626f4ed5ea2d1ccea3c5528bbe4cb549e9494ed837064e5aae1aa28c14cf0b72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for BloomSky_API-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 52132c7bf4fa56de0be6274b5f343a6611dabfaece5f10e40a1ad2d4af9549a6
MD5 efcba4665141684025d68594cdc805d9
BLAKE2b-256 478464599577fb5bb6d116d7a0fc77aec6642054cd0edd6b194bf28c29c01a4e

See more details on using hashes here.

Supported by

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