https://github.com/jabirdev/blogger-api
Android Library for Blogger API V3
https://github.com/jabirdev/blogger-api
android-library blogger java retrofit
Last synced: about 2 months ago
JSON representation
Android Library for Blogger API V3
- Host: GitHub
- URL: https://github.com/jabirdev/blogger-api
- Owner: JabirDev
- License: apache-2.0
- Created: 2019-12-18T14:05:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-18T15:38:14.000Z (over 6 years ago)
- Last Synced: 2025-03-22T17:44:48.392Z (over 1 year ago)
- Topics: android-library, blogger, java, retrofit
- Language: Java
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Blogger API Android Library
=========================================
[](https://jitpack.io/#JabirDev/blogger-api)
## Gradle
Add JitPack repository:
```java
repositories {
maven { url 'https://jitpack.io' }
}
```
And the dependency:
```java
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](https://github.com/square/retrofit).
>Note: This library not support POST request
## Setup
* Create your `API KEY` go to [Blogger API Documentation](https://developers.google.com/blogger/docs/3.0/using)
* Login into your Blogger account and get your blog id
## Example
```java
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
}
});
```