Skip to main content

Python wrapper for the Microsoft Open Data APIs.

Project description

A Python wrapper for the Microsoft Open Data API.

Usage

>>> from open_data import OpenData
>>> od = OpenData()
>>> od.catalog()
['bls', 'dc', ... ]
>>> od.catalog('dc')
['BankLocations', 'TrafficCameras', 'ZoningPermits', ... ]
>>> data = od.query('dc', 'BankLocations')
>>> print data
{'all': ['of', 'your', 'data']}
>>> # Data returned in XML format.
... od.query('dc', 'BankLocations', format='xml')
>>> # JSON-P data is also available.
... od.query('dc', 'BankLocations', callback='my_callback')

Project details


Release history Release notifications

This version
History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
open_data-1.0.tar.gz (6.5 kB) Copy SHA256 hash SHA256 Source None Aug 8, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page