Skip to content

Commit

Permalink
Version Bump 0.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
davue committed Feb 21, 2019
1 parent 5d38a5d commit eb2852a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Add the following to your `pom.xml`:
<dependency>
<groupId>com.github.VSETH-GECO</groupId>
<artifactId>GECo4J</artifactId>
<version>0.9.4</version> <!-- Or use any other version including commit hashes -->
<version>0.9.5</version> <!-- Or use any other version including commit hashes -->
</dependency>
</dependencies>
```
Expand All @@ -34,7 +34,7 @@ You can get a shaded jar on [Jenkins](https://jenkins.stammgruppe.eu/blue/organi

## Usage
#### Resources
* [Latest Release Javadocs](https://jitpack.io/com/github/VSETH-GECO/GECo4J/0.9.4/javadoc/)
* [Latest Release Javadocs](https://jitpack.io/com/github/VSETH-GECO/GECo4J/0.9.5/javadoc/)
* [Latest Master Javadocs](https://jitpack.io/com/github/VSETH-GECO/GECo4J/master-SNAPSHOT/javadoc/)
* [Latest Dev Javadocs](https://jitpack.io/com/github/VSETH-GECO/GECo4J/dev-SNAPSHOT/javadoc/)

Expand All @@ -44,17 +44,17 @@ Alternatively you can fetch the Javadocs of a specific version or commit by past
#### Tutorial
The first thing you have to do, is to construct a `GECo4JClient` using your API token:
```java
IGECoClient gecoClient = new GECoClient(<API Token>);
GECoClient gecoClient = new DefaultGECoClient(<API Token>);
```
Then you can look at the [Javadocs](https://jitpack.io/com/github/VSETH-GECO/GECo4J/0.9.4/javadoc/) to see what you can do with a `IGECoClient`.
Then you can look at the [Javadocs](https://jitpack.io/com/github/VSETH-GECO/GECo4J/0.9.5/javadoc/) to see what you can do with a `IGECoClient`.
For example print the titles of the first page of events:
```java
class Example {
public static void main(String[] args){
IGECoClient gecoClient = new GECoClient("this is your token");
GECoClient gecoClient = new DefaultGECoClient("this is your token");

List<IEvent> events = gecoClient.getEvents(1);
for (IEvent event : events) {
List<Event> events = gecoClient.getEvents(1);
for (Event event : events) {
System.out.println(event.getTitle());
}
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ch.ethz.geco</groupId>
<artifactId>GECo4J</artifactId>
<version>0.9.4</version>
<version>0.9.5</version>
<name>GECo4J</name>
<description>A Java wrapper for the GECo Web API. Copyright (c) 2018, Licensed under GNU LGPLv3.</description>
<url>https://github.com/VSETH-GECO/GECo4J</url>
Expand Down

0 comments on commit eb2852a

Please sign in to comment.