Skip to content

jjeffcaii/devicehub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Device Hub

Search mobile device model info.

Build

$ glide update && glide install && go build

How To Run?

Docker is recommended:

$ docker run --rm -ti -p 3000:3000 jjeffcaii/devicehub:latest

Restful Docs

Example: search for iPhone7,2

 $ curl -X GET \
    -H "Content-Type: application/json" \
    "http://127.0.0.1:3000/iphone7,2"

It will return JSON string:

"iPhone 6"

FAQ

Q: Where can I get latest device models?

A: Just execute script below.

$ curl http://storage.googleapis.com/play_public/supported_devices.csv | iconv -f UTF-16 -t UTF-8 > db/android.txt
$ curl -o db/ios.txt http://7xpeg1.com1.z0.glb.clouddn.com/ios.devicemodels.properties

About

search mobile device models.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages