Statistics list the default categories in blogger by Get JSON methods with Blogger API v3
<script>
//<![CDATA[
var key = 'AIzaSyDM24BM63CRjunx8eC8hW5Ekx6L47wqz1A'; // API key
var blogId = '7715607870561112757'; // ID Blog
var postId = '6763811030782427481'; // ID Post
var pageId = '7715607870561112757'; // ID Static
var blogsurl = 'https://www.googleapis.com/blogger/v3/blogs/';
var pagesurl = blogsurl + blogId + '/pages/';
var getblogId = blogsurl + blogId + '?key=' + key;
var getpostId = blogsurl + blogId + '/posts/' + postId + '?key=' + key;
var getpageId = pagesurl + pageId + '?key=' + key;
$.ajax({
url: getblogId or getpostId or getpageId,
type: "get",
dataType: "json",
success: function(data) {
var Items in the list = data.Items in the list;
$('.class').html(Items in the list);
}
});
//]]>
</script>
-
.class: Self-set for each display item
-
Items in the list: Get list Listing
- Html Display: <span class='
.class'></span>
get | List | Results |
getblogId | id | 7715607870561112757 |
getblogId | name | ANHDOGE BLOG - Share you're knowledge |
getblogId | description | Share everything about Facebook, Blogspot and Windows |
getblogId | published | 2018-05-11T11:05:15+07:00 |
getblogId | updated | 2018-11-08T11:15:15+07:00 |
getblogId | url | https://www.anhdoge.de/ |
getblogId | posts.totalItems | 241 |
getblogId | pages.totalItems | 9 |
getblogId | locale.language | vi |
get | List | Results |
getpostId | id | 4869567616167338471 |
getpostId | published | 2018-06-20T11:33:00+07:00 |
getpostId | updated | 2018-09-24T18:32:13+07:00 |
getpostId | url | http://www.anhdoge.de/2018/11/test-feed.html |
getpostId | title | Guide To add update time to using feed articles |
getpostId | content | Article content |
getpostId | author.id | g113091920257110327816 |
getpostId | author.displayName | ANHDOGE BLOG |
getpostId | author.url | https://plus.google.com/113091920257110327816?authuser=0 |
getpostId | author.image.url | //lh3.googleusercontent.com/-ScmTNBnl-jU/AAAAAAAAAAI/AAAAAAAAAAA/AGDgw-jxkYuNaOv7ychREU_A1yMvt21r0g/s96-c-mo/photo.jpg |
getpostId | replies.totalItems | 1 |
getpostId | labels | blogthiet-ke-blogspot |
get | List | Results |
getpageId | id | 7715607870561112757 |
getpageId | published | 2018-09-30T11:22:00+07:00 |
getpageId | updated | 2018-09-30T11:22:21+07:00 |
getpageId | url | https://www.anhdoge.de/p/blogger-api-v3.html |
getpageId | title | Blogger API v3 |
getpageId | content | Article content |
getpageId | author.id | g113091920257110327816 |
getpageId | author.displayName | ANHDOGE BLOG |
getpageId | author.url | https://plus.google.com/113091920257110327816?authuser=0 |
getpageId | author.image.url | //lh3.googleusercontent.com/-ScmTNBnl-jU/AAAAAAAAAAI/AAAAAAAAAAA/AGDgw-jxkYuNaOv7ychREU_A1yMvt21r0g/s96-c-mo/photo.jpg |