-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathicloud.go
46 lines (39 loc) · 1.33 KB
/
icloud.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package icloudgo
import (
"github.com/chyroc/icloudgo/internal"
)
func New(option *ClientOption) (*Client, error) {
return internal.NewClient(option)
}
type (
TextGetter func(appleID string) (string, error)
Client = internal.Client
ClientOption = internal.ClientOption
Error = internal.Error
PhotoAlbum = internal.PhotoAlbum
PhotoAsset = internal.PhotoAsset
PhotoService = internal.PhotoService
)
var (
ErrValidateCodeWrong = internal.ErrValidateCodeWrong
ErrPhotosIterateEnd = internal.ErrPhotosIterateEnd
)
const (
AlbumNameAll = internal.AlbumNameAll
AlbumNameTimeLapse = internal.AlbumNameTimeLapse
AlbumNameVideos = internal.AlbumNameVideos
AlbumNameSloMo = internal.AlbumNameSloMo
AlbumNameBursts = internal.AlbumNameBursts
AlbumNameFavorites = internal.AlbumNameFavorites
AlbumNamePanoramas = internal.AlbumNamePanoramas
AlbumNameScreenshots = internal.AlbumNameScreenshots
AlbumNameLive = internal.AlbumNameLive
AlbumNameRecentlyDeleted = internal.AlbumNameRecentlyDeleted
AlbumNameHidden = internal.AlbumNameHidden
)
type PhotoVersion = internal.PhotoVersion
const (
PhotoVersionOriginal = internal.PhotoVersionOriginal
PhotoVersionMedium = internal.PhotoVersionMedium
PhotoVersionThumb = internal.PhotoVersionThumb
)