Skip to content

myConsciousness/line-notify.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pub package Dart SDK Version

1. About

This is a Line Notify API wrapping library for the Dart language licensed under BSD 3-Clause.

1.1. How To Use

1.1.1. Get the token

First, you need to get a token to authorize with the Line Notify API from the official Line Notify website.

1.1.2. Implementation

Basically you can use this library in the following format.

import 'package:line_notify/line_notify.dart';

void main() async {
  final lineNotify = LineNotify(token: 'Write your token here');
  final response = await lineNotify.send(message: 'Write your message here');

  print(response.statusCode);
  print(response.body);
}

1.2. More Information

This library was designed and implemented by Kato Shinya.