Last updated:
0 purchases
pigeonholelive sdk
Pigeonhole Dark SDK #
Installation
Usage
Documentation
License
Installation #
add pigeonholelive_sdk to your pubspec.yaml
dependencies:
pigeonholelive_sdk: ^1.0.0
copied to clipboard
run pub get
Usage #
Create auth using OAuth access token or Workspace token, refer to Authentication for more info
import 'package:pigeonholelive_sdk/pigeonholelive_sdk.dart';
var pigeonholeLive = PigeonholeLive(
auth: WorkspaceToken(token: 'xxx')
);
var pigeonholeLive = PigeonholeLive(
auth: OAuthAccessToken(token: 'xxx')
);
copied to clipboard
Responses
For your convenient, the module will return response with related models
import 'package:pigeonholelive_sdk/pigeonholelive_sdk.dart';
var pigeonholes = await pigeonholeLive.pigeonhole.list();
print(pigeonholes.data?.first.passcode); // ABC123
copied to clipboard
Pagination
PaginationResult class will return Function() nextPage
import 'package:pigeonholelive_sdk/pigeonholelive_sdk.dart';
var pigeonholes = await pigeonholeLive.pigeonhole.list();
try {
var nextPagePigeonholes = await pigeonholes.nextPage();
} on NoNextPageException catch (error) {
// this exeception will be thrown if there's no next page
}
copied to clipboard
Available Modules
pigeonholeLive.attendee
pigeonholeLive.customBranding
pigeonholeLive.pigeonhole
pigeonholeLive.registrant
pigeonholeLive.session
pigeonholeLive.speaker
pigeonholeLive.subscription
pigeonholeLive.workspace
copied to clipboard
Documentation #
Kindly visit Pigeonholelive Docs for more usage
License #
This library is released under the MIT License
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.