Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shinixsensei committed Jun 7, 2020
2 parents 447137a + b635002 commit f68110b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
**/target/
../target/
release.properties
pom.xml.releaseBackup
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
### Maven

```xml
<dependencies>
<dependency>
<groupId>com.github.shinixsensei-dev</groupId>
<artifactId>opentdb4j</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>
<dependency>
<groupId>com.github.shinixsensei-dev</groupId>
<artifactId>OpenTDB4j</artifactId>
<version>1.0.4</version>
</dependency>
```

# Usage
Expand All @@ -36,6 +34,7 @@

}
```
View [OpenTDB](https://opentdb.com/api_config.php) to see available selections for ``.setCategory()`` and ``.setDifficulty()``.

# Configuration
First, create a new OpenTDB Object
Expand All @@ -48,7 +47,8 @@
obj.setCategory = 29;
obj.setDifficulty = "hard";
```


# Get Response
Now run the method by using
```java
obj.getTrivia();
Expand Down

0 comments on commit f68110b

Please sign in to comment.