Skip to content

Commit c25d4d9

Browse files
committed
Automated update
1 parent f6364d6 commit c25d4d9

10 files changed

+68
-112
lines changed

CONTRIBUTORS

-4
This file was deleted.

LICENSE

+26-30
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,26 @@
1-
Copyright (c) 2013-2014 Gerwin Sturm & Adam Singer
2-
3-
Licensed under the Apache License, Version 2.0 (the "License"); you may
4-
not use this file except in compliance with the License. You may obtain a
5-
copy of the License at
6-
7-
http://www.apache.org/licenses/LICENSE-2.0
8-
9-
Unless required by applicable law or agreed to in writing, software
10-
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11-
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12-
License for the specific language governing permissions and limitations
13-
under the License
14-
15-
------------------------
16-
Based on http://code.google.com/p/google-api-dart-client
17-
18-
Copyright 2012 Google Inc.
19-
Licensed under the Apache License, Version 2.0 (the "License"); you may
20-
not use this file except in compliance with the License. You may obtain a
21-
copy of the License at
22-
23-
http://www.apache.org/licenses/LICENSE-2.0
24-
25-
Unless required by applicable law or agreed to in writing, software
26-
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
27-
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
28-
License for the specific language governing permissions and limitations
29-
under the License
30-
1+
Copyright 2014, the Dart project authors. All rights reserved.
2+
Redistribution and use in source and binary forms, with or without
3+
modification, are permitted provided that the following conditions are
4+
met:
5+
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above
9+
copyright notice, this list of conditions and the following
10+
disclaimer in the documentation and/or other materials provided
11+
with the distribution.
12+
* Neither the name of Google Inc. nor the names of its
13+
contributors may be used to endorse or promote products derived
14+
from this software without specific prior written permission.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+31-71
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,39 @@
1-
# google_youtubeanalytics_v1_api
1+
# (Deprecated) google_youtubeanalytics_v1_api
22

3-
### Description
3+
### See [googleapis](https://pub.dartlang.org/packages/googleapis) or [googleapis_beta](https://pub.dartlang.org/packages/googleapis_beta) for latest libraries.
44

5-
Auto-generated client library for accessing the youtubeAnalytics v1 API.
5+
If you would like to continue to use this library pin version constraint to
6+
`'0.4.13'`
67

7-
#### ![Logo](http://www.google.com/images/icons/product/youtube-16.png) YouTube Analytics API - youtubeAnalytics v1
8-
9-
Retrieve your YouTube Analytics reports.
10-
11-
Official API documentation: http://developers.google.com/youtube/analytics/
12-
13-
Adding dependency to pubspec.yaml
14-
15-
```
16-
dependencies:
17-
google_youtubeanalytics_v1_api: '>=0.4.13'
18-
```
19-
20-
For web applications:
21-
22-
```
23-
import "package:google_youtubeanalytics_v1_api/youtubeanalytics_v1_api_browser.dart" as youtubeanalyticsclient;
24-
```
25-
26-
For console application:
27-
28-
```
29-
import "package:google_youtubeanalytics_v1_api/youtubeanalytics_v1_api_console.dart" as youtubeanalyticsclient;
30-
```
31-
32-
Working without authentication the following constructor can be called:
33-
34-
```
35-
var youtubeanalytics = new youtubeanalyticsclient.YoutubeAnalytics();
36-
```
37-
38-
To use authentication create a new `GoogleOAuth2` object and pass it to the constructor:
39-
40-
41-
```
42-
GoogleOAuth2 auth = new GoogleOAuth2(CLIENT_ID, SCOPES);
43-
var youtubeanalytics = new youtubeanalyticsclient.YoutubeAnalytics(auth);
44-
```
8+
![alt tag](https://cloud.githubusercontent.com/assets/654526/4262495/26e744b4-3ba5-11e4-8b96-bfadd6eeaf9e.png)
459

4610
### Licenses
4711

4812
```
49-
Copyright (c) 2013-2014 Gerwin Sturm & Adam Singer
50-
51-
Licensed under the Apache License, Version 2.0 (the "License"); you may
52-
not use this file except in compliance with the License. You may obtain a
53-
copy of the License at
54-
55-
http://www.apache.org/licenses/LICENSE-2.0
56-
57-
Unless required by applicable law or agreed to in writing, software
58-
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
59-
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
60-
License for the specific language governing permissions and limitations
61-
under the License
62-
63-
------------------------
64-
Based on http://code.google.com/p/google-api-dart-client
65-
66-
Copyright 2012 Google Inc.
67-
Licensed under the Apache License, Version 2.0 (the "License"); you may
68-
not use this file except in compliance with the License. You may obtain a
69-
copy of the License at
70-
71-
http://www.apache.org/licenses/LICENSE-2.0
72-
73-
Unless required by applicable law or agreed to in writing, software
74-
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
75-
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
76-
License for the specific language governing permissions and limitations
77-
under the License
78-
13+
Copyright 2014, the Dart project authors. All rights reserved.
14+
Redistribution and use in source and binary forms, with or without
15+
modification, are permitted provided that the following conditions are
16+
met:
17+
18+
* Redistributions of source code must retain the above copyright
19+
notice, this list of conditions and the following disclaimer.
20+
* Redistributions in binary form must reproduce the above
21+
copyright notice, this list of conditions and the following
22+
disclaimer in the documentation and/or other materials provided
23+
with the distribution.
24+
* Neither the name of Google Inc. nor the names of its
25+
contributors may be used to endorse or promote products derived
26+
from this software without specific prior written permission.
27+
28+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
32+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
33+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
34+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7939
```

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"C11OM5Qtr9122-scy_WeqND9D3o/Bu-EyG-olBWjKSwf5NrgtWtFq0I"
1+
"uUWyYHXmEn-ab7WLvo8qNz2S8ws/nlDKGR94Mbaj_YAIBNSZijmIvJQ"

lib/src/browser_client.dart

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import 'client_base.dart';
1111
/**
1212
* Base class for all Browser API clients, offering generic methods for HTTP Requests to the API
1313
*/
14+
@deprecated
1415
abstract class BrowserClient implements ClientBase {
1516

1617
static const _corsCallback = 'handleCLientLoad';

lib/src/client_base.dart

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import "dart:convert";
88
/**
99
* Base class for all API clients, offering generic methods for HTTP Requests to the API
1010
*/
11+
@deprecated
1112
abstract class ClientBase {
1213
String get basePath;
1314
String get rootUrl;
@@ -62,12 +63,13 @@ abstract class ClientBase {
6263
/**
6364
* Error thrown when the HTTP Request to the API failed
6465
*/
66+
@deprecated
6567
class APIRequestError extends Error {
6668
final String message;
6769
APIRequestError([this.message]);
6870
String toString() => (message == null) ? "APIRequestException" : "APIRequestException: $message";
6971
}
70-
72+
@deprecated
7173
class DetailedApiRequestError extends Error {
7274
final int statusCode;
7375
final String body;

lib/src/console_client.dart

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import 'client_base.dart';
1010
/**
1111
* Base class for all Console API clients, offering generic methods for HTTP Requests to the API
1212
*/
13+
@deprecated
1314
abstract class ConsoleClient implements ClientBase {
1415

1516
oauth2.OAuth2Console get auth;

lib/youtubeanalytics_v1_api_browser.dart

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import 'package:google_youtubeanalytics_v1_api/src/browser_client.dart';
66
import "package:google_youtubeanalytics_v1_api/youtubeanalytics_v1_api_client.dart";
77

88
/** Retrieve your YouTube Analytics reports. */
9+
@deprecated
910
class YoutubeAnalytics extends Client with BrowserClient {
1011

1112
/** OAuth Scope2: View YouTube Analytics monetary reports for your YouTube content */

lib/youtubeanalytics_v1_api_console.dart

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import 'package:google_youtubeanalytics_v1_api/src/console_client.dart';
77
import "package:google_youtubeanalytics_v1_api/youtubeanalytics_v1_api_client.dart";
88

99
/** Retrieve your YouTube Analytics reports. */
10+
@deprecated
1011
class YoutubeAnalytics extends Client with ConsoleClient {
1112

1213
/** OAuth Scope2: View YouTube Analytics monetary reports for your YouTube content */

pubspec.yaml

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
name: google_youtubeanalytics_v1_api
2-
version: 0.4.13
3-
authors:
4-
- Adam Singer <[email protected]>
5-
- Gerwin Sturm <[email protected]>
6-
- Kevin Moore <[email protected]>
2+
version: 0.4.14
3+
author: Dart Team <[email protected]>
74
description: Auto-generated client library for accessing the youtubeAnalytics v1 API
85
homepage: https://github.com/dart-gde/discovery_api_dart_client_generator
96
environment:
107
sdk: '>=1.0.0 <2.0.0'
118
dependencies:
129
google_oauth2_client: '>=0.3.2 <0.4.0'
10+
meta: '>=0.8.8 <0.9.0'
1311
dev_dependencies:
1412
hop: '>=0.30.2 <0.31.0'

0 commit comments

Comments
 (0)