Skip to content
Sample Java code to show how to access Device42 API's
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Mar 27, 2015
Device42API.java Create Device42API.java Mar 27, 2015
LICENSE Device42, Inc. Mar 27, 2015
README.md more description Mar 27, 2015

README.md

Device42 API Java Sample

Sample Java code to show how to access Device42 API's with Java and utilize the result as JSON objects

#Dependencies JDK 1.7 JSON.simple (https://code.google.com/p/json-simple/)

#Usage ###Compile javac -cp .:/pathto/json-simple-1.1.1.jar Device42API.java ###Run java -cp ".:/pathto/json-simple-1.1.1.jar" Device42API device_42_url device42_user device42_password ###Example java -cp ".:/pathto/json-simple-1.1.1.jar" Device42API http://192.168.244.131/ "username" "password"

You can’t perform that action at this time.