Skip to main content
# 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')
{
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'
}
```


## Changelog

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!

Metadata

Release files for data247 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for data247 0.3
File Size Uploaded Provenance Actions
data247-0.3.tar.gz 3.3 kB Without provenance Details for data247-0.3.tar.gz

Release files / data247-0.3.tar.gz

Download URL data247-0.3.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a438925cf8203d6fe31784f8c9a39b679c2cc376cb8fb68408a50cf54a69c2af
BLAKE2b-256 checksum
How to use checksums
be1e8936059736260e704099c8d84397c0a11db1ebc36ef29e56295e111b6f53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for data247 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page