blob: e8a58ecb55400946157fdc85389634097bdd2ac5 [file] [log] [blame]
Joe Gregorio37802c32013-08-06 12:24:05 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="blogger_v3.html">Blogger API</a> . <a href="blogger_v3.blogUserInfos.html">blogUserInfos</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#get">get(userId, blogId, maxPosts=None)</a></code></p>
79<p class="firstline">Gets one blog and user info pair by blogId and userId.</p>
80<h3>Method Details</h3>
81<div class="method">
82 <code class="details" id="get">get(userId, blogId, maxPosts=None)</code>
83 <pre>Gets one blog and user info pair by blogId and userId.
84
85Args:
86 userId: string, ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. (required)
87 blogId: string, The ID of the blog to get. (required)
88 maxPosts: integer, Maximum number of posts to pull back with the blog.
89
90Returns:
91 An object of the form:
92
93 {
94 "blog": {
95 "kind": "blogger#blog", # The kind of this entry. Always blogger#blog
96 "description": "A String", # The description of this blog. This is displayed underneath the title.
97 "locale": { # The locale this Blog is set to.
98 "country": "A String", # The country this blog's locale is set to.
99 "variant": "A String", # The language variant this blog is authored in.
100 "language": "A String", # The language this blog is authored in.
101 },
102 "posts": { # The container of posts in this blog.
103 "totalItems": 42, # The count of posts in this blog.
104 "items": [ # The List of Posts for this Blog.
105 {
106 "content": "A String", # The content of the Post. May contain HTML markup.
107 "kind": "blogger#post", # The kind of this entity. Always blogger#post
108 "author": { # The author of this Post.
109 "url": "A String", # The URL of the Post creator's Profile page.
110 "image": { # The Post author's avatar.
111 "url": "A String", # The Post author's avatar URL.
112 },
113 "displayName": "A String", # The display name.
114 "id": "A String", # The identifier of the Post creator.
115 },
116 "replies": { # The container of comments on this Post.
117 "totalItems": "A String", # The count of comments on this post.
118 "items": [ # The List of Comments for this Post.
119 {
120 "content": "A String", # The actual content of the comment. May include HTML markup.
121 "kind": "blogger#comment", # The kind of this entry. Always blogger#comment
122 "inReplyTo": { # Data about the comment this is in reply to.
123 "id": "A String", # The identified of the parent of this comment.
124 },
125 "author": { # The author of this Comment.
126 "url": "A String", # The URL of the Comment creator's Profile page.
127 "image": { # The comment creator's avatar.
128 "url": "A String", # The comment creator's avatar URL.
129 },
130 "displayName": "A String", # The display name.
131 "id": "A String", # The identifier of the Comment creator.
132 },
133 "updated": "A String", # RFC 3339 date-time when this comment was last updated.
134 "blog": { # Data about the blog containing this comment.
135 "id": "A String", # The identifier of the blog containing this comment.
136 },
137 "published": "A String", # RFC 3339 date-time when this comment was published.
138 "post": { # Data about the post containing this comment.
139 "id": "A String", # The identifier of the post containing this comment.
140 },
141 "id": "A String", # The identifier for this resource.
142 "selfLink": "A String", # The API REST URL to fetch this resource from.
143 },
144 ],
145 "selfLink": "A String", # The URL of the comments on this post.
146 },
147 "labels": [ # The list of labels this Post was tagged with.
148 "A String",
149 ],
150 "customMetaData": "A String", # The JSON meta-data for the Post.
151 "updated": "A String", # RFC 3339 date-time when this Post was last updated.
152 "blog": { # Data about the blog containing this Post.
153 "id": "A String", # The identifier of the Blog that contains this Post.
154 },
155 "url": "A String", # The URL where this Post is displayed.
156 "location": { # The location for geotagged posts.
157 "lat": 3.14, # Location's latitude.
158 "lng": 3.14, # Location's longitude.
159 "span": "A String", # Location's viewport span. Can be used when rendering a map preview.
160 "name": "A String", # Location name.
161 },
162 "published": "A String", # RFC 3339 date-time when this Post was published.
163 "title": "A String", # The title of the Post.
164 "id": "A String", # The identifier of this Post.
165 "selfLink": "A String", # The API REST URL to fetch this resource from.
166 },
167 ],
168 "selfLink": "A String", # The URL of the container for posts in this blog.
169 },
170 "customMetaData": "A String", # The JSON custom meta-data for the Blog
171 "updated": "A String", # RFC 3339 date-time when this blog was last updated.
172 "pages": { # The container of pages in this blog.
173 "totalItems": 42, # The count of pages in this blog.
174 "selfLink": "A String", # The URL of the container for pages in this blog.
175 },
176 "url": "A String", # The URL where this blog is published.
177 "published": "A String", # RFC 3339 date-time when this blog was published.
178 "id": "A String", # The identifier for this resource.
179 "selfLink": "A String", # The API REST URL to fetch this resource from.
180 "name": "A String", # The name of this blog. This is displayed as the title.
181 },
182 "kind": "blogger#blogUserInfo",
183 "user": {
184 "kind": "blogger#blogPerUserInfo",
185 "userId": "A String",
186 "blogId": "A String",
187 "photosAlbumKey": "A String",
188 },
189 }</pre>
190</div>
191
192</body></html>