SpyOnWeb python wrapper
Project description
SpyOnWeb
Python3 wrapper and CLI for the SpyOnWeb.com API
Install
Install the PyPi package : pip install spyonweb
You can also install it manually :
git clone https://github.com/Te-k/spyonweb.git
cd spyonweb
pip install .
CLI
$ spyonweb config --token 2wldRA5t5xL9
In /home/user/.config/spyonweb:
[SpyOnWeb]
token = 2wldRA5t5xL9
$ spyonweb adsense pub-5953444431482912
--------------- pub-5953444431482912 -----------------
Fetched 10 domains over 10
-short-haircuts.org (2013-07-29)
-long-haircuts.com (2013-07-30)
-hewlettpackardprinterdrivers.net (2013-07-29)
-bobhairstyles.biz (2013-07-27)
-liver-disease-symptoms.com (2014-03-21)
-howtopatentanidea.net (2014-03-21)
-fullmooncalendar.net (2013-07-29)
-mens-haircuts.net (2014-03-24)
-bronchitis-symptoms.biz (2015-02-28)
-hernia-symptoms.com (2014-03-20)
API
from spyonweb import SpyOnWeb
client = SpyOnWeb(API_KEY)
client.analytics('UA-34505845')
{'fetched': 9,
'found': 9,
'items': {'bobhairstyles.biz': '2016-04-11',
'bronchitis-symptoms.biz': '2015-02-28',
'fullmooncalendar.net': '2017-10-02',
'hewlettpackardprinterdrivers.net': '2016-04-17',
'howtopatentanidea.net': '2016-04-18',
'liver-disease-symptoms.com': '2016-04-21',
'long-haircuts.com': '2016-04-21',
'mens-haircuts.net': '2016-04-22',
'short-haircuts.org': '2016-04-27'}}
client.ip('157.166.226.25')
{'fetched': 35,
'found': 35,
'items': {'ac360.com': '2015-05-26',
'amanpour.com': '2017-09-25',
'cnn.co.hu': '2017-05-18',
'cnn.hu': '2017-09-29',
'cnn.net': '2016-09-21',
'cnn.tv': '2017-09-29',
[SNIP]
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file spyonweb-0.1-py3-none-any.whl
.
File metadata
- Download URL: spyonweb-0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6067d920094968604cf3138b2d924f7636892fc93f1d04485e00c63264f1a88 |
|
MD5 | e8585d0cd31a8c9f3395694efefe522e |
|
BLAKE2b-256 | 6a835d7a33f89d65207375d164f6270cd9a295e9d1e7ce50e92bbbe5a86c1568 |