Skip to content

ryanaidilp/stadata_flutter_sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STADATA Flutter SDK - Simplified Access to WebAPI BPS

Pub Version (including pre-releases) Pub Points ci Code Coverage codecov Website style: very good analysis Powered by Mason License: MIT Pub Likes Pub Popularity


Description

The STADATA Flutter SDK is a powerful and user-friendly Flutter SDK designed to seamlessly integrate with the official API offered by the Badan Pusat Statistik (BPS) Statistic of the Republic of Indonesia. BPS offers a WebAPI - https://webapi.bps.go.id/developer/ that allows users to programmatically access various types of data, including Publications, Press Releases, Static Tables, Dynamic Tables, and many more.

This SDK empowers Flutter developers to effortlessly access a wealth of statistical data and information directly from BPS's extensive database, enabling the creation of data-driven applications that provide valuable insights into various aspects of Indonesia's socio-economic landscape.

With STADATA Flutter SDK, you can harness the comprehensive data sets made available by BPS, covering a wide range of domains such as population, economy, demographics, and more. This SDK simplifies the process of fetching, processing, and presenting statistical data within your Flutter apps, ensuring a smooth and efficient user experience by eliminate the need for manual data downloads from the https://www.bps.go.id/.


Key Features

  • Seamless Integration: Easily incorporate BPS Statistic of the Republic of Indonesia's data into your Flutter projects.
  • Rich Data Sources: Access a vast repository of statistical data on Indonesia's diverse economic and demographic aspects.
  • User-Friendly: Designed with developers in mind, making it straightforward to utilize the API's functionalities.
  • Data Insights: Create data-driven applications to provide valuable insights and visualizations to your users.
  • Up-to-Date: Stay current with the latest data releases and updates from BPS.

Unlock the potential of BPS's statistical data with the stadata_flutter_sdk and empower your Flutter applications to provide users with valuable information and insights about Indonesia's dynamic landscape.

For detailed usage instructions and documentation of the BPS API, please refer to the API BPS documentation.


Documentation

For detailed usage instructions and documentation of this package, please refer to the official documentation.


πŸš€ Getting Started

Prerequisites

  • Flutter SDK >=3.7.0 <4.0.0
  • An API key from BPS WebAPI

Installation

Add this package to your pubspec.yaml:

dependencies:
  stadata_flutter_sdk: ^latest_version

Quick Example

import 'package:stadata_flutter_sdk/stadata_flutter_sdk.dart';

// Initialize the SDK
final stadata = StadataFlutter.instance;
await stadata.init(apiKey: 'your_api_key_here');

// Fetch domains
final domains = await stadata.list.domains(
  lang: DataLanguage.id,
  type: DomainType.all,
);

// Fetch publications
final publications = await stadata.list.publications(
  lang: DataLanguage.en,
  domain: '0000',
);

For more detailed examples, check our example app or visit the documentation.


πŸ› οΈ Development Status

List API Implementation

Feature Status Description
Domains βœ… Geographic administrative divisions
Publications βœ… BPS publications and reports
Infographics βœ… Statistical infographics
Static Tables βœ… Pre-defined statistical tables
Press Releases βœ… Official press releases
News βœ… Statistical news and updates
News Categories βœ… News categorization
Subject Categories βœ… Statistical subject hierarchies
Subjects βœ… Statistical subjects
Statistical Classifications βœ… KBLI & KBKI classifications
Strategic Indicators βœ… Key performance indicators
Units βœ… Measurement units
Variables βœ… Statistical variables
Vertical Variables βœ… Vertical measurement variables
Census Data βœ… Census information and datasets
Dynamic Tables πŸ”„ Dynamic statistical tables
Glossary πŸ”„ Statistical terms glossary
Foreign Trade πŸ”„ Export/import statistics
SDGs Data πŸ”„ Sustainable Development Goals

View API Implementation

Feature Status Description
Publications βœ… Detailed publication view
Static Tables βœ… Detailed table view
Press Releases βœ… Detailed press release view
News βœ… Detailed news view
News Categories βœ… Category details
Statistical Classifications βœ… Classification details
Dynamic Tables πŸ”„ Dynamic table details

Legend: βœ… Complete | πŸ”„ In Progress | ❌ Not Started


🀝 Contributing

We welcome contributions from the community! Whether you're fixing bugs, adding features, improving documentation, or helping with translations, your contributions are valuable.

Quick Start for Contributors

  1. πŸ‘‹ New to Contributing? Read our Contributor Guide | Panduan Kontributor
  2. πŸ” First Time? Check our Contribution Guidelines
  3. πŸš€ New Feature? Follow our Feature Development Workflow | Panduan Pengembangan Fitur
  4. πŸ“‹ GitHub Process? See our GitHub Contribution Workflow | Alur Kontribusi GitHub

Ways to Contribute

  • πŸ› Bug Reports: Found an issue? Report it here
  • ✨ Feature Requests: Have an idea? Suggest it here
  • πŸ“ Documentation: Help improve our docs
  • πŸ§ͺ Testing: Write tests to improve coverage
  • 🌍 Localization: Help translate the example app
  • πŸ”„ Pending Features: Help implement features marked with πŸ”„

Good First Issues

Look for issues labeled good first issue - these are perfect for newcomers!

Documentation

Activities

Alt

About

Streamline BPS Statistics API integration in Flutter. Easily fetch, analyze, and visualize data.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages