1. Getting Started - ParsaD23/MotoGP-API GitHub Wiki
Import the following libraries in your project:
- the latest motogpapi-x.x.jar release (in the release section)
- Gson: download
- Jsoup: download
First, you need to download the latest motogpapi-x.x.jar release (in the release section) and then install it in your local maven repository. Run the following command:
mvn install:install-file
-Dfile=<path-to-jar-file>
-DgroupId="com.github.parsad23"
-DartifactId="motogpapi"
-Dversion="3.0.4"
-Dpackaging="jar"
-DgeneratePom=trueThen add the motogpapi library to the dependencies in the pom.xml file of your project:
<dependency>
<groupId>com.github.parsad23</groupId>
<artifactId>motogpapi</artifactId>
<version>3.0.4</version>
</dependency>