From b9fb7122447f08e3dcad21391692b37e0e802e4c Mon Sep 17 00:00:00 2001 From: Ubujira Date: Fri, 13 May 2022 16:30:23 +0200 Subject: [PATCH] Improve readme --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c03ea4..ad2683c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,27 @@ # Galaxus-API -Small API for the web shops Galaxus and Digitec. \ No newline at end of file +Small API for the web shops Galaxus and Digitec. + +# Adding it to your project + +#### Gradle + +```gradle +repositories { + maven { + name 'ubujira' + url 'https://maven.ubujira.dev/' + } +} + +dependencies { + implementation 'dev.ubujira:Galaxus-API:0.5.0' +} +``` + +# Usage + +```java +GalaxusAPI galaxusAPI=new GalaxusAPI(Site.GALAXUS); + PriceHistory priceHistory=galaxusAPI.getPriceHistory(6329006); +``` \ No newline at end of file