Skip to content

Commit 061c858

Browse files
authored
Added support for User-Agent API and location parameter (#11)
Added hostname, security, and user-agent support in ip-geolocation API. Added user-agent API. And other required changes.
1 parent 9393a6c commit 061c858

16 files changed

+1061
-693
lines changed

README.md

Lines changed: 218 additions & 124 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,27 @@
66

77
<groupId>io.ipgeolocation</groupId>
88
<artifactId>ipgeolocation</artifactId>
9-
<version>1.0.12</version>
9+
<version>1.0.13</version>
10+
11+
<packaging>jar</packaging>
12+
<name>ipgeolocation-java-sdk</name>
13+
<description>Java SDK to lookup IP location, time zone detail, currency and security information using
14+
ipgeolocation.io API
15+
</description>
16+
17+
<!-- Publishing: Project path -->
18+
<url>https://github.com/IPGeolocation/ip-geolocation-api-java-sdk</url>
19+
20+
<properties>
21+
<java.version>1.8</java.version>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
</properties>
1024

1125
<dependencies>
1226
<dependency>
13-
<groupId>com.google.code.gson</groupId>
14-
<artifactId>gson</artifactId>
15-
<version>2.8.5</version>
27+
<groupId>org.json</groupId>
28+
<artifactId>json</artifactId>
29+
<version>20211205</version>
1630
</dependency>
1731
</dependencies>
1832

@@ -26,6 +40,16 @@
2640
</plugin>
2741
</plugins>
2842
</pluginManagement>
43+
<plugins>
44+
<plugin>
45+
<groupId>org.apache.maven.plugins</groupId>
46+
<artifactId>maven-compiler-plugin</artifactId>
47+
<configuration>
48+
<source>8</source>
49+
<target>8</target>
50+
</configuration>
51+
</plugin>
52+
</plugins>
2953
</build>
3054

3155
<distributionManagement>
@@ -36,7 +60,4 @@
3660
</repository>
3761
</distributionManagement>
3862

39-
<properties>
40-
<java.version>1.8</java.version>
41-
</properties>
4263
</project>

0 commit comments

Comments
 (0)