This Package Helping to implement of blogger api to flutter app
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.
- Posts
- Pages
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',
);
bloggerAPI.getBlogs(
blogIds: ['Your Blog Ids'],
)
Return Type Future<List<BlogsModel>>
bloggerAPI.getPosts(
includeComment: false // If need you can read all the Comments from Posts.
)
Return Type Future<PostModel>
bloggerAPI.getPages()
Return Type Future<PageModel>
Author
and Replies
included in PostItemModel
so can you read author and replies from Posts
Android | iOS | MacOS | Web | Linux | Windows |
---|---|---|---|---|---|
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.
This code inspection from blogger_api package.