Skip to content

JabirDev/blogger-api

Repository files navigation

Blogger API Android Library

JitPack

Gradle

Add JitPack repository:

repositories {
        maven { url 'https://jitpack.io' }
    }

And the dependency:

dependencies {
    implementation 'com.github.JabirDev:blogger-api:version'
}

Description

This library is made to make it easier for you to work with Blogger API v3. This library also use Retrofit for the networking, you can visit Retrofit here.

Note: This library not support POST request

Setup

Example

BloggerApi api = new BloggerApi("your_blog_id", "your_api_key");
// Get recent post
api.getPostList(new PostListListener() {
      @Override
      public void onPostListSuccessListener(PostList postList) {
            // Do something
      }

      @Override
      public void onFailureListener(Throwable t) {
             // Do something
      }
});