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)
```
=======
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file stopforumspam-api-0.0.3.tar.gz.
File metadata
- Download URL: stopforumspam-api-0.0.3.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9de7b9d0eb823f99e5ec16a12082bc5027e895ba445d55c8b0d4e678fd65aa91
|
|
| MD5 |
6fdca201dcf89353d81519e6610b7526
|
|
| BLAKE2b-256 |
00a53f82898984af67b2dfd6bd7c08232f81579dcb487644c008955b1fb62bde
|