Skip to content

Commit 20a5aa9

Browse files
committed
Updated copyright notices where appropriate and refreshed generated docs.
1 parent 37de7a3 commit 20a5aa9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+601
-208
lines changed

FAQ

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Frequently asked questions?
22

33

44
Q: How do I work out the arguments and methods that are available for a particular API?
5-
A: http://api-python-client-doc.appspot.com/ has dynamically generated documentation for all the APIs supported by this library.
5+
A: http://api-python-client-doc.appspot.com/ has dynamically generated
6+
documentation for all the APIs supported by this library.
67

78

README

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ should be able to cd to samples/buzz and run the code from there.
4545
Third Party Libraries
4646
=====================
4747

48-
These libraries should be installed when you install the client library, either
49-
automatically if you have setuptools installed, or manually if you do not:
48+
These libraries will be installed when you install the client library:
5049

5150
http://code.google.com/p/httplib2
5251
http://code.google.com/p/uri-templates

TODO

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
TODO
22
====
33

4-
- LICENSE file
5-
6-
- OAuth cmdline sample should start local http server to catch response.
7-
8-
- Caching of discovery doc
9-
10-
- Examples of caching
11-
12-
- 2.x and 3.x compatible
13-
4+
- Maybe support Python 3.x?

apiclient/errors.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
#!/usr/bin/python2.4
22
#
3-
# Copyright 2010 Google Inc. All Rights Reserved.
3+
# Copyright (C) 2010 Google Inc.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
416

517
"""Errors for the library.
618

apiclient/ext/django_orm.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright (C) 2010 Google Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a 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,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
import apiclient
216
import base64
317
import pickle

apiclient/ext/file.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
# Copyright 2010 Google Inc. All Rights Reserved.
1+
# Copyright (C) 2010 Google Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a 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,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
214

315
"""Utilities for OAuth.
416

apiclient/http.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
# Copyright 2010 Google Inc. All Rights Reserved.
1+
# Copyright (C) 2010 Google Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a 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,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
214

315
"""Classes to encapsulate a single HTTP request.
416

apiclient/model.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
#!/usr/bin/python2.4
22
#
3-
# Copyright 2010 Google Inc. All Rights Reserved.
3+
# Copyright (C) 2010 Google Inc.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
416

517
"""Model objects for requests and responses.
618

apiclient/oauth.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
# Copyright 2010 Google Inc. All Rights Reserved.
1+
# Copyright (C) 2010 Google Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a 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,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
214

315
"""Utilities for OAuth.
416

contrib/buzz/simple_wrapper.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
#!/usr/bin/python2.4
22
#
3-
# Copyright 2010 Google Inc. All Rights Reserved.
3+
# Copyright (C) 2010 Google Inc.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
416

517
__author__ = 'ade@google.com (Ade Oshineye)'
618

@@ -67,4 +79,4 @@ def __get_group_count(self, user_id, group_id):
6779
members = cmd.execute()
6880
if 'totalResults' not in members.keys():
6981
return -1
70-
return members['totalResults']
82+
return members['totalResults']

0 commit comments

Comments
 (0)