Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
/ computer-api Public archive

Is your computer turned on? Find it out with this API.

License

Notifications You must be signed in to change notification settings

yungcemic/computer-api

Repository files navigation

Computer API

Description

Is your computer turned on? Find it out with this API

Usage
package com.github.cemicyz.computerapi;

final class Sample {

    /*
    Is your computer turned on? Find it out with this API
    */

    public static void main(String[] args) {
        System.out.println("Computer is : " + (ComputerAPI.isOn() ? "on" : "off"));
    }
}
Maven
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
    <groupId>com.github.cemicyz</groupId>
    <artifactId>computer-api</artifactId>
    <version>1.0-SNAPSHOT</version>
</dependency>
Gradle
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
        implementation 'com.github.cemicyz:computer-api:1.0-SNAPSHOT'
}

About

Is your computer turned on? Find it out with this API.

Resources

License

Stars

Watchers

Forks

Languages