Skip to content

bhargavraviya/flutter-blogger

 
 

Repository files navigation

Blogger API For Flutter

This Package Helping to implement of blogger api to flutter app

Platform integration

You don't need to include the google-services.json file in your app unless you are using Google services that require it. You do need to enable the Blogger API using Google Cloud Platform API manager, and Create New Project then Go to Credentials Page and Create New credentials For API Key.

💰 Support by donating or sponsoring us.,

sponsor Patreon Buymeacoffee Ko-Fi

Features

  • Posts
  • Pages

Screenshots

Documentation

To use blogger, first start by importing the package.

import 'package:blogger/blogger.dart';
Blogger blogger = Blogger(
    apiKey: 'Your API Key',
    blogId: 'Your Blog Ids',
);

Get All the Blog Details By Ids

bloggerAPI.getBlogs(
    blogIds: ['Your Blog Ids'], 
)

Return Type Future<List<BlogsModel>>

Get All the Post Details By Blog Id

bloggerAPI.getPosts(
    includeComment: false // If need you can read all the Comments from Posts.
)

Return Type Future<PostModel>

Get All the Page Details By Blog Id

bloggerAPI.getPages()

Return Type Future<PageModel>

Author and Replies included in PostItemModel so can you read author and replies from Posts

Platform Support

Android iOS MacOS Web Linux Windows
✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Authors

Contributing

Contributions are always welcome! See contributing.md for ways to get started. Please adhere to this project's code of conduct.

License

MIT

This code inspection from blogger_api package.

https://github.com/imtheguna/blogger_api

Releases

No releases published

Packages

No packages published

Languages

  • Dart 56.9%
  • C++ 25.3%
  • CMake 13.2%
  • HTML 2.4%
  • C 1.0%
  • Swift 0.9%
  • Other 0.3%