status_page 0.1.1 copy "status_page: ^0.1.1" to clipboard
status_page: ^0.1.1 copied to clipboard

outdated

Library to consume Atlassian's Status Page API from dart.

Effective Dart Badge MIT License Badge

Status Page Dart #

Use this package to consume Atlassian's Status Page API from Dart/Flutter.

Please refer to https://developer.statuspage.io for more info on the API.

Features #

Initially we support the following functionality:

  • Get list of pages
  • Get specific page by id
  • Get list of components by page
  • Get component by id by page

In the following versions we'll be adding more more functionality

Getting started #

API Key #

First, you need to get your api key, to do this, enter Status Page website and go to API info section on your profile.

From here you can start using this package but we recommend to get couple other data.

Page Id #

On the same page, you'll find your page id, it should look something like this:

image

Component Ids #

Although you can get this using the package, it might be easier to get them from the web.

to do this, go to you components page and look at the url, there you'll find every component id refer to the following example:

https://manage.statuspage.io/pages/PAGE_ID/components/COMPONENT_ID/

Usage #

final statusPage = StatusPage(apiKey: 'YOUR_API_KEY');

final pages = await statusPage.pages;

final page = await statusPage.page('PAGE_ID');

final componentList = page.components;

final component = page.component('COMPONENT_ID');


15
likes
0
points
21
downloads

Publisher

verified publisherfondeadora.com

Weekly Downloads

Library to consume Atlassian's Status Page API from dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, equatable, flutter, json_annotation, retrofit

More

Packages that depend on status_page