Skip to content

Commit cc4bbc0

Browse files
committed
Rename package
1 parent 00d37cc commit cc4bbc0

File tree

15 files changed

+29
-27
lines changed

15 files changed

+29
-27
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Fixer.io API Client
22

3-
This project provides a client to the [Fixer.io](https://fixer.io/) API.
3+
This project provides a Java client for the [Fixer.io](https://fixer.io/) API.
44

55
## Contribution
66

@@ -37,14 +37,6 @@ or **Maven dependency:**
3737
</dependency>
3838
```
3939

40-
## Tests
41-
42-
Note that an API key is to be provided either by setting the environment variable `FIXER_API_KEY` or the JVM parameter `fixerApiKey`.
43-
44-
```
45-
./gradlew check
46-
```
47-
4840
## Usage
4941

5042
It is recommended to use the **FixerRequestBuilder** to form requests:
@@ -99,4 +91,14 @@ TimeSeriesResponse r = builder
9991
.call();
10092
```
10193

102-
Additional examples can be found in the [tests](https://github.com/aaaccell/fixer/tree/master/src/test/java/com/aaaccell/fixer).
94+
**Additional examples**
95+
96+
Can be found under [tests](https://github.com/aaaccell/fixer/tree/master/src/test/java/com/aaaccell/fixer).
97+
98+
## Tests
99+
100+
Note that an API key is to be provided either by setting the environment variable `FIXER_API_KEY` or the JVM parameter `fixerApiKey`.
101+
102+
```
103+
./gradlew check
104+
```

src/main/java/com/aaaccell/fixer/FixerResponseTypeAdapterFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.aaaccell.fixer;
22

33
import com.aaaccell.fixer.exception.FixerException;
4-
import com.aaaccell.fixer.models.ErrorResponse;
4+
import com.aaaccell.fixer.response.ErrorResponse;
55
import com.google.gson.*;
66
import com.google.gson.reflect.TypeToken;
77
import com.google.gson.stream.JsonReader;

src/main/java/com/aaaccell/fixer/FixerService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.aaaccell.fixer;
22

3-
import com.aaaccell.fixer.models.ConvertResponse;
4-
import com.aaaccell.fixer.models.SymbolsResponse;
5-
import com.aaaccell.fixer.models.TimeSeriesResponse;
3+
import com.aaaccell.fixer.response.ConvertResponse;
4+
import com.aaaccell.fixer.response.SymbolsResponse;
5+
import com.aaaccell.fixer.response.TimeSeriesResponse;
66
import retrofit2.Call;
77
import retrofit2.http.GET;
88
import retrofit2.http.Query;

src/main/java/com/aaaccell/fixer/exception/FixerException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.aaaccell.fixer.exception;
22

3-
import com.aaaccell.fixer.models.ErrorResponse;
3+
import com.aaaccell.fixer.response.ErrorResponse;
44

55
import java.io.IOException;
66

src/main/java/com/aaaccell/fixer/request/AuthenticatedRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.aaaccell.fixer.request;
22

33
import com.aaaccell.fixer.FixerService;
4-
import com.aaaccell.fixer.models.Response;
4+
import com.aaaccell.fixer.response.Response;
55

66
public abstract class AuthenticatedRequest<T extends Response> extends Request<T> {
77
FixerService fixerService;

src/main/java/com/aaaccell/fixer/request/ConvertRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.aaaccell.fixer.request;
22

33
import com.aaaccell.fixer.FixerService;
4-
import com.aaaccell.fixer.models.ConvertResponse;
4+
import com.aaaccell.fixer.response.ConvertResponse;
55
import retrofit2.Call;
66

77
import java.math.BigDecimal;

src/main/java/com/aaaccell/fixer/request/Request.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.aaaccell.fixer.request;
22

3-
import com.aaaccell.fixer.models.Response;
3+
import com.aaaccell.fixer.response.Response;
44
import retrofit2.Call;
55

66
import java.io.IOException;

src/main/java/com/aaaccell/fixer/request/SymbolsRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.aaaccell.fixer.request;
22

33
import com.aaaccell.fixer.FixerService;
4-
import com.aaaccell.fixer.models.SymbolsResponse;
4+
import com.aaaccell.fixer.response.SymbolsResponse;
55
import retrofit2.Call;
66

77
public class SymbolsRequest extends AuthenticatedRequest<SymbolsResponse> {

src/main/java/com/aaaccell/fixer/request/TimeSeriesRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.aaaccell.fixer.request;
22

33
import com.aaaccell.fixer.FixerService;
4-
import com.aaaccell.fixer.models.TimeSeriesResponse;
4+
import com.aaaccell.fixer.response.TimeSeriesResponse;
55
import com.aaaccell.fixer.util.LocalDateHelper;
66
import retrofit2.Call;
77

src/main/java/com/aaaccell/fixer/models/ConvertResponse.java renamed to src/main/java/com/aaaccell/fixer/response/ConvertResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.aaaccell.fixer.models;
1+
package com.aaaccell.fixer.response;
22

33
import java.math.BigDecimal;
44

0 commit comments

Comments
 (0)