Skip to content

idserda/java-pebble-timeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-pebble-timeline

This is a Java library for the Pebble Timeline API. Documentation for the full api can be found here.

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 for more examples.

About

Java library for the Pebble Timeline API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages