Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #76 from sygic-travel/release-1.0.0
Browse files Browse the repository at this point in the history
release-1.0.0
  • Loading branch information
Michal Murín authored Jul 21, 2017
2 parents 85a0cb0 + eecc88d commit 4e3610e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Sygic Travel Android SDK is a framework for embedding a rich set of Sygic Travel data within your
application. It gives you an access to millions of places covering the whole world.

For further details see [Full SDK documentation](http://docs.sygictravelapi.com/android-sdk/0.3.0-beta).
For further details see [Full SDK documentation](http://docs.sygictravelapi.com/android-sdk/1.0.0).

## Requirements

Expand Down Expand Up @@ -36,7 +36,7 @@ repositories {
Add dependency to your application module `build.gradle` file:
```gradle
dependencies {
compile ('com.sygic.travel:sdk:0.3.0-beta@aar'){
compile ('com.sygic.travel:sdk:1.0.0@aar'){
transitive=true;
}
}
Expand Down Expand Up @@ -70,9 +70,9 @@ To obtain your *API key* contact us at https://travel.sygic.com/b2b/api-key.
## Usage Introduction

This example shows how to use the SDK to fetch a representative set of data. To define a set of places
you need to create a [placeQuery](http://docs.sygictravelapi.com/android-sdk/0.3.0-beta/com/sygic/travel/sdk/model/placeQuery/Query.html)
you need to create a [placeQuery](http://docs.sygictravelapi.com/android-sdk/1.0.0/com/sygic/travel/sdk/model/placeQuery/Query.html)
which describes the places which will be fetched - see
[API documentation](http://docs.sygictravelapi.com/0.2/#section-places).
[API documentation](http://docs.sygictravelapi.com/1.0/#section-places).

Let's define a set of places we want:

Expand Down Expand Up @@ -156,7 +156,7 @@ override fun onPause() {
```

## Basic Classes
For more details check our [documentation](http://docs.sygictravelapi.com/android-sdk/0.3.0-beta).
For more details check our [documentation](http://docs.sygictravelapi.com/android-sdk/1.0.0).

Class | Description
:-------------------|:---------------------
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/main/java/com/sygic/travel/sdk/api/StApi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import retrofit2.http.Query
/**
*
* Contains available API requests.
* @see [API Documentation](http://docs.sygictravelapi.com/0.2)
* @see [API Documentation](http://docs.sygictravelapi.com/1.0)
*/
internal interface StApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal object StApiConstants {

// BASE URL
internal var API_BASE_URL = "https://api.sygictravelapi.com/"
var API_VERSION = "0.2"
var API_VERSION = "1.0"

// PATTERNS
val VERSION_AND_LOCALE = "[api_version_and_locale]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import com.sygic.travel.sdk.model.geo.Bounds
*
* PlacesQuery contains values which define the places to be fetched.
* To see what the parameters mean check the
* [API Documentation](http://docs.sygictravelapi.com/0.2/#endpoint-get-places-list).
* [API Documentation](http://docs.sygictravelapi.com/1.0/#endpoint-get-places-list).
*/
class PlacesQuery {
var query: String? = null
Expand Down Expand Up @@ -45,7 +45,7 @@ class PlacesQuery {
*
* Query contains values which define the places to be fetched.
* To see what the parameters mean check the
* [API Documentation](http://docs.sygictravelapi.com/0.2/#endpoint-get-places-list).
* [API Documentation](http://docs.sygictravelapi.com/1.0/#endpoint-get-places-list).
*/
constructor(
query: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.sygic.travel.sdk.model.query
/**
* ToursQuery contains values which define the tours to be fetched.
* To see what the parameters mean check the
* [API Documentation](http://docs.sygictravelapi.com/0.2/#section-tours).
* [API Documentation](http://docs.sygictravelapi.com/1.0/#section-tours).
*/
class ToursQuery(
val destinationId: String,
Expand Down

0 comments on commit 4e3610e

Please sign in to comment.