joaopsilva / binance-java-api

binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
213 stars 794 forks source link

How to install by maven? #14

Open qingyang-id opened 6 years ago

qingyang-id commented 6 years ago

I use the maven config to install, but it not work,what should i do?

<dependency>
        <groupId>com.github.binance-exchange</groupId>
        <artifactId>binance-java-api</artifactId>
        <version>-SNAPSHOT</version>
    </dependency>
theJaxon commented 6 years ago

I failed to install by adding groupId, artifactId etc in Netbeans but here's how i got it to work. right click on dependencies > add dependency then in Query search box type the name "binance" and in the results you will find "com.binance.api" expand, select the jar file and click add, it will download the file and add it to your dependencies.

hibrahimates commented 3 years ago

I use the maven config to install, but it not work,what should i do?

<dependency>
      <groupId>com.github.binance-exchange</groupId>
      <artifactId>binance-java-api</artifactId>
      <version>-SNAPSHOT</version>
  </dependency>

you need to clone this project on your local and build it. put mvn code in your porject and then type to terminal on your project "mvn install"

thats all what I did.

p.m. I m not an expert on Java or binance API. It was worked on my case. I hope it will gonna help you. gl