All Projects → line → Line Bot Sdk Java

line / Line Bot Sdk Java

Licence: apache-2.0
LINE Messaging API SDK for Java

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to Line Bot Sdk Java

Line Bot Sdk Perl
LINE Messaging API SDK for Perl
Stars: ✭ 69 (-85.74%)
Mutual labels:  bot, sdk, line
Line Bot Sdk Go
LINE Messaging API SDK for Go
Stars: ✭ 654 (+35.12%)
Mutual labels:  bot, sdk, line
Line Bot Sdk Python
LINE Messaging API SDK for Python
Stars: ✭ 1,198 (+147.52%)
Mutual labels:  bot, sdk, line
Line Bot Sdk Nodejs
LINE Messaging API SDK for Node.js
Stars: ✭ 683 (+41.12%)
Mutual labels:  bot, sdk, line
Line Bot Sdk Php
LINE Messaging API SDK for PHP
Stars: ✭ 601 (+24.17%)
Mutual labels:  bot, sdk, line
Line Bot Sdk Ruby
LINE Messaging API SDK for Ruby
Stars: ✭ 425 (-12.19%)
Mutual labels:  bot, sdk, line
Matrix Bot Sdk
TypeScript/JavaScript SDK for Matrix bots
Stars: ✭ 63 (-86.98%)
Mutual labels:  bot, sdk
Mirai Ts
🔧 Mirai(QQ Bot) JavaScript/TypeScript SDK for Node.js/Browser
Stars: ✭ 86 (-82.23%)
Mutual labels:  bot, sdk
Linesimulator
LINESimulator
Stars: ✭ 103 (-78.72%)
Mutual labels:  bot, line
Telegram link line
用Telegram來收發Line的訊息,use telegram to Send and receive messages(from Line)。 或者把它當作Line的訊息備份也是可啦 😛
Stars: ✭ 164 (-66.12%)
Mutual labels:  bot, line
Node Line Messaging Api
Unofficial SDK for LINE Messaging API 🤖 💬
Stars: ✭ 41 (-91.53%)
Mutual labels:  bot, line
Botframework Emulator
A desktop application that allows users to locally test and debug chat bots built with the Bot Framework SDK.
Stars: ✭ 1,532 (+216.53%)
Mutual labels:  bot, sdk
Telegram Bot Sdk
🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
Stars: ✭ 2,212 (+357.02%)
Mutual labels:  bot, sdk
Botpress
🤖 Dev tools to reliably understand text and automate conversations. Built-in NLU. Connect & deploy on any messaging channel (Slack, MS Teams, website, Telegram, etc).
Stars: ✭ 9,486 (+1859.92%)
Mutual labels:  bot, sdk
Botwall4j
A botwall for Java web applications
Stars: ✭ 41 (-91.53%)
Mutual labels:  bot, spring
Messaging Apis
Messaging APIs for multi-platform
Stars: ✭ 1,754 (+262.4%)
Mutual labels:  bot, line
Line Bot Tutorial
line-bot-tutorial use python flask
Stars: ✭ 267 (-44.83%)
Mutual labels:  bot, line
Viber Bot Php
Php bot interface to work with Viber API
Stars: ✭ 202 (-58.26%)
Mutual labels:  bot, sdk
Botbuilder Js
Welcome to the Bot Framework SDK for JavaScript repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using JavaScript.
Stars: ✭ 469 (-3.1%)
Mutual labels:  bot, sdk
Circuit Sdk
JavaScript and Node.js SDK for Circuit
Stars: ✭ 18 (-96.28%)
Mutual labels:  bot, sdk

LINE Messaging API SDK for Java

Maven Central javadoc codecov

Introduction

The LINE Messaging API SDK for Java makes it easy to develop bots using LINE Messaging API, and you can create a sample bot within minutes.

Documentation

See the official API documentation for more information.

Requirements

This library requires Java 8 or later.

Installation

We've uploaded this library to the Maven Central Repository. You can install the modules using Maven or Gradle.

http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.linecorp.bot%22

Modules

This project contains the following modules:

  • line-bot-api-client: API client library for the Messaging API
  • line-bot-model: Model classes for the Messaging API
  • line-bot-servlet: Java servlet utilities for bot servers
  • line-bot-spring-boot: Spring Boot auto configuration library for bot servers

This project contains the following sample projects:

  • sample-spring-boot-echo: A simple echo server. It includes a Heroku button.
  • sample-spring-boot-kitchensink: Full featured sample code.

Spring Boot integration

The line-bot-spring-boot module lets you build a bot application as a Spring Boot application.

/*
 * Copyright 2016 LINE Corporation
 *
 * LINE Corporation licenses this file to you under the Apache License,
 * version 2.0 (the "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at:
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

package com.example.bot.spring.echo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.linecorp.bot.model.event.Event;
import com.linecorp.bot.model.event.MessageEvent;
import com.linecorp.bot.model.event.message.TextMessageContent;
import com.linecorp.bot.model.message.TextMessage;
import com.linecorp.bot.spring.boot.annotation.EventMapping;
import com.linecorp.bot.spring.boot.annotation.LineMessageHandler;

@SpringBootApplication
@LineMessageHandler
public class EchoApplication {
    public static void main(String[] args) {
        SpringApplication.run(EchoApplication.class, args);
    }

    @EventMapping
    public TextMessage handleTextMessageEvent(MessageEvent<TextMessageContent> event) {
        System.out.println("event: " + event);
        return new TextMessage(event.getMessage().getText());
    }

    @EventMapping
    public void handleDefaultMessageEvent(Event event) {
        System.out.println("event: " + event);
    }
}

How do I use a proxy server?

You can use LineMessagingServiceBuilder to configure a proxy server. It accepts your own OkHttpBuilder instance.

Note: You don't need to use an add-on like Fixie to have static IP addresses for proxy servers. You can make API calls without entering IP addresses on the server IP whitelist.

Help and media

FAQ: https://developers.line.biz/en/faq/

Community Q&A: https://www.line-community.me/questions

News: https://developers.line.biz/en/news/

Twitter: @LINE_DEV

Versioning

This project respects semantic versioning.

See http://semver.org/.

Contributing

Please check CONTRIBUTING before making a contribution.

License

Copyright (C) 2016 LINE Corp.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].