Documentation ¶
Overview ¶
Package onesky is go utils for working with OneSky translation service Copyright (c) 2015 Sebastian Czoch <sebastian@czoch.eu>. All rights reserved. Use of this source code is governed by a GNU v2 license found in the LICENSE file.
Index ¶
Constants ¶
const APIAddress = "https://platform.api.onesky.io"
APIAddress is https address to OneSky API
const APIVersion = "1"
API Version is OneSky API version which will be used
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is basics struct for this package contains Secret, APIKey and ProjectID which is needed to authorize in OneSky service
func (*Client) DeleteFile ¶
DeleteFile is method on Client struct which remove file from OneSky service
func (*Client) DownloadFile ¶
DownloadFile is method on Client struct which download form OneSky service choosen file as string
type FileData ¶
type FileData struct { Name string `json:"name"` StringCount int `json:"string_count"` LastImport LastImport `json:"last_import"` UpoladedAt string `json:"uploaded_at"` UpoladedAtTimestamp int `json:"uploaded_at_timestamp"` }
FileData is a struct which contains informations about file uploaded to OneSky service
type LastImport ¶
LastImport is a struct which contains informations about last upload