Skip to content

Commit

Permalink
Merge pull request #18 from IPGeolocation/proposedv1.0.16
Browse files Browse the repository at this point in the history
Proposedv1.0.16
  • Loading branch information
Sheharyar-Malik authored Mar 5, 2024
2 parents 7cbbc47 + b221bd5 commit 18433d0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 19 deletions.
23 changes: 9 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

[IPGeolocation API](https://ipgeolocation.io) is the solution to identify country code (ISO2 and ISO3 standard), country
name, continent code, continent name, country capital, state/province, district, city, zip code, latitude and longitude
of city, is country belongs to Europian Union, calling code, top level domain (TLD), languages, country flag, internet
service provider (ISP), connection type, organization, geoname ID, currency code, currency name, time zone ID, time zone
of city, is country belongs to European Union, calling code, top level domain (TLD), languages, country flag, internet
service provider (ISP), connection type, organization, geo name ID, currency code, currency name, time zone ID, time zone
offset, current time in the time zone, is time zone in daylight saving time, total daylight savings and user agent
details. This document provides important information to help you get up to speed with IPGeolocation API using IP
Geolocation API Java SDK.
Expand All @@ -25,8 +25,8 @@ Developers can use this Java SDK for software and web projects related to, but n
You need a valid 'IPGeolocation API key' to use this SDK. [Sign up](https://ipgeolocation.io/signup) here and get your
free API key if you don’t have one.

**Note:** Complete documentation to use this SDK is also available
at [IP Geolocation API JAVA SDK Documentation](https://ipgeolocation.io/documentation/ip-geolocation-api-java-sdk.html)
**Note:** Complete documentation [![javadoc](https://javadoc.io/badge2/io.ipgeolocation/ipgeolocation/ipgeolocation.svg)](https://javadoc.io/doc/io.ipgeolocation/ipgeolocation) to use this SDK is also available
at [IP Geolocation API Website](https://ipgeolocation.io/documentation/ip-geolocation-api-java-sdk.html)
.

## System Requirements
Expand All @@ -46,7 +46,7 @@ Add the following dependency in 'pom.xml' file to use the IP Geolocation API Jav
<dependency>
<groupId>io.ipgeolocation</groupId>
<artifactId>ipgeolocation</artifactId>
<version>1.0.15</version>
<version>1.0.16</version>
</dependency>
```

Expand All @@ -55,27 +55,22 @@ Add the following dependency in 'pom.xml' file to use the IP Geolocation API Jav
Add the following dependency in 'build.gradle' file to use the IP Geolocation API Java SDK.

```gradle
dependencies {
compile 'io.ipgeolocation:ipgeolocation:1.0.15'
...
}
implementation 'io.ipgeolocation:ipgeolocation:1.0.16'
```

### Ivy

Add the following dependency code in 'ivy.xml' file to use the IP Geolocation API Java SDK.

```ivy
<dependency org='io.ipgeolocation' name='ipgeolocation' rev='1.0.15'>
<artifact name='ipgeolocation' />
</dependency>
<dependency org="io.ipgeolocation" name="ipgeolocation" rev="1.0.16"/>
```

### JAR File

Use the following URL to download the latest JAR file for IP Geolocation API Java SDK.

* [https://ipgeolocation.io/downloads/ip-geolocation-api-java-1.0.15.jar](https://ipgeolocation.io/downloads/ip-geolocation-api-java-1.0.15.jar)
* [https://ipgeolocation.io/downloads/ip-geolocation-api-java-1.0.16.jar](https://ipgeolocation.io/downloads/ip-geolocation-api-java-1.0.16.jar)

Documentation
-----------
Expand Down Expand Up @@ -132,7 +127,7 @@ try {
GeolocationParams geolocationParams =
GeolocationParams.builder()
.withIPAddress("1.1.1.1")
.withLand("ru")
.withLang("ru")
.build();

try {
Expand Down
26 changes: 21 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

<groupId>io.ipgeolocation</groupId>
<artifactId>ipgeolocation</artifactId>
<version>1.0.15</version>
<version>1.0.16</version>

<packaging>jar</packaging>
<name>ipgeolocation-java-sdk</name>
<description>Java SDK to lookup IP location, time zone detail, currency and security information using
ipgeolocation.io API
<description>Java SDK to lookup IP location, time zone detail, currency, security, astronomy information
and timezone conversion using ipgeolocation.io API
</description>
<url>https://github.com/IPGeolocation/ip-geolocation-api-java-sdk</url>

Expand Down Expand Up @@ -55,6 +55,10 @@
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<build>
Expand All @@ -71,9 +75,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<configuration>
<source>8</source>
<target>8</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -127,6 +132,17 @@
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 18433d0

Please sign in to comment.