---
title: "Java Pebble Timeline"
canonical_url: https://developer.repebble.com/community/libraries/java-pebble-timeline/
last_updated: 2025-08-08
sdk_version: 4.33.1
---
# Java Pebble Timeline

Source: https://developer.repebble.com/community/libraries/java-pebble-timeline/

## java-pebble-timeline

This is a Java library for the Pebble timeline API. Documentation for the full API can be found [here](https://developer.repebble.com/guides/timeline/pin-structure/).

### Installation

Using maven:

```
\<dependency\>\<groupId\>nl.palolem\</groupId\>\<artifactId\>pebble-timeline\</artifactId\>\<version\>1.1\</version\>\</dependency\>
```

### Usage

```
Pin pin = new Pin.Builder().id("example-pin-generic-1")
                .time(new Date())
                .layout(new GenericPin.Builder()
                        .title("News at 6 o'clock")
                        .tinyIcon(Icon.NOTIFICATION_FLAG)
                        .build())
                .build();

Timeline.sendPin("my-token", pin);
```

See [tests](https://github.com/idserda/java-pebble-timeline/tree/master/src/test/java/nl/palolem/timeline) for more examples.
