A Python wrapper for the Safecast API.
Project description
A pure Python wrapper around the Safecast API.
Usage
import SafecastPy safecast = SafecastPy.SafecastPy( api_key='YOUR_API_KEY') # Get some measurements. print(safecast.get_measurements()) # Add a new measurement. safecast.add_measurement(json={ 'latitude': 49.418683, 'longitude': 2.823469, 'value': random.uniform(1, 10), 'unit': SafecastPy.UNIT_CPM })
See the GitHub repository for more documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SafecastPy-0.1.0.tar.gz
(3.3 kB
view hashes)