uamd 0.1 RC4

User Agent Mobile Detect

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
3.0/5 1
DEVELOPED BY:
Alisue
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
uamd is for detecting Japanese mobile phone from HTTP_USER_AGENT and return device information include UID from HTTP Header and spoof check by CIDR of each carrier.

Install

 sudo pip install -e git://github.com/alisue/uamd.git#egg=uamd

Required (Automatically installed)

- IPy
- BeautifulSoup

How to use

 >>> META = {
 >>> 'HTTP_USER_AGENT': u"J-PHONE/2.0/J-SH02",
 >>> 'HTTP_X_JPHONE_UID': u"XXXXXXX",
 >>> 'REMOTE_ADDR': u"123.108.237.0", # Valid IP for Softbank (2011/03/22)
 >>> }
 >>> deice = uamd.detect(META)
 >>> device.name
 u'J-SH02'
 >>> device.type
 u'J-Phone'
 >>> device.uid
 u'XXXXXXX'
 >>> device.spoof
 False

Last updated on November 24th, 2011

requirements

#User Agent #Mobile Detect #mobile phone #mobile #phone #detector #HTTP_USER_AGENT

Add your review!

SUBMIT