Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

An API client for Data 24-7.

Project Description

# python-data247

An API client for [Data 24-7](

## Install

To install the library, you can use

$ pip install data247

## Usage

Essentially all you need to do is create a `Data247` client object--this holds
your account credentials and also specifies which data you're requesting.

You can then make queries using the `get` method, passing in the search term.

>>> from data247 import Data247, IP
>>> client = Data247('myusername', 'mypassword', IP)
>>> client.get('')
u'city': u'Bakersfield',
u'areacode': u'661',
u'country': u'US',
u'dst': u'1',
u'zipcode': u'93312',
u'longitude': u'-119.227203',
u'state': u'CA',
u'cost': u'0.0030',
u'billable': u'1',
u'latitude': u'35.383202',
u'timezone': u'-8',
u'ip_address': u''

## Changelog

v0.4: 12-17-2012

- Updating dependencies for python-requests.
- Updating codebase to make use of requests 1.0+ (this release introduced
backwards-incompatible changes).

v0.3: 12-14-2012

- Making `get` method return `{}` on error.

v0.2: 12-14-2012

- Adding support for extra data fields.

v0.1: 11-27-2012

- First release!

Release History

This version
History Node


History Node


History Node


History Node


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
(3.4 kB) Copy SHA256 Hash SHA256
Source None Dec 18, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate