Skip to main content

Basic interface for Stop Forum Spam API

Project description

Overview
=======

Designed to be a very basic but easy to use interface to the StopForumSpam API.
You can use this the query StopForumSpam and, provided you have a key, add data to the database too.

It is important to read and understand StopForumSpam's terms before using this software.


Alternatives
============

If you're using Django you may wish to use the the more mature [django-stopforumspam](https://github.com/benjaoming/django-stopforumspam).


Installation
============

pip install stopforumspam_api


Example
=======

```python
>>> from stopforumspam_api import query
>>> response = query(ip="199.115.114.220")
>>> respone.appears()
True
>>> response.ip.appears
True
>>> response.ip.frequency
17
>>> response.ip.lastseen
datetime.datetime(2015, 5, 5, 20, 32, 35)
```

Project details


Download files

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

Source Distribution

stopforumspam-api-0.0.3.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page