Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install data247

How to install data247

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install data247
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
0.4 Available View build log
Linux (64-bit)
0.4 Available View build log
 
License
UNLICENSE
Dependencies
Imports
Lastest release
version 0.4 on Dec 20th, 2012

# python-data247

An API client for [Data 24-7](https://www.data24-7.com/).

## Install

To install the library, you can use [pip](http://www.pip-installer.org/en/latest/).

`bash $ 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.

```python >>> from data247 import Data247, IP >>> >>> client = Data247('myusername', 'mypassword', IP) >>> client.get('174.134.29.20') {

System Message: WARNING/2 (<string>, line 23); backlink

Inline literal start-string without end-string.

System Message: WARNING/2 (<string>, line 23); backlink

Inline interpreted text or phrase reference start-string without end-string.

System Message: ERROR/3 (<string>, line 29)

Unexpected indentation.
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'174.134.29.20'

System Message: WARNING/2 (<string>, line 41)

Block quote ends without a blank line; unexpected unindent.

}

## 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!

Subscribe to package updates

Last updated Dec 20th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.