line_notify_d 1.0.0 line_notify_d: ^1.0.0 copied to clipboard
This is a Line Notify API wrapping library for the Dart language licensed under BSD 3-Clause.
1. Line Notify D #
1.1. What is it? #
Line Notify D
is a Line Notify API wrapping library for the Dart language licensed under BSD 3-Clause.
1.2. Motivation #
- Provide an easier and more intuitive library for the Line Notify API in the Dart language.
- Provide an interface that is aware only of the Line Notify API token and the message to be sent.
1.3. How To Use #
1.3.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.3.2. Implement the LineNotify #
Basically, you can use a LineNotify
in the following format.
import 'package:line_notify_d/line_notify_d.dart';
/// The class that demonstrates the [LineNotify].
class DemoLineNotify {
void main() async {
final HttpResponse response = await LineNotify.from(
token: Token.from(value: 'Set your Line Notify Token here'))
.send(message: 'Set the message you want to send here');
print(response.statusCode); // => 200
print(response.body); // {status: 200, message: ok}
}
}
1.4. More Information #
Line Notify D
was designed and implemented by Kato Shinya, who works as a freelance developer.
Regardless of the means or content of communication, I would love to hear from you if you have any questions or concerns. I do not check my email box very often so a response may be delayed, anyway thank you for your interest!