Skip to main content

The solution to simplicity.

Project description

Features coming soon: Complete events, Complet fetch functionalities

LINELIB Banner

LINELIB (WIP)

The All-in-One LINE Bot Integration Solution.

Get Started →

Installation

Use the following, or clone this repository.

pip install -U linelib

🔑 Features.

Code Example

✨ Optimized Source Code.

Cleaner source code is beneficial because it is easier to read, understand, and maintain. It's easier for you to add new features, fix bugs, and understand how the code works. Clean code is also more efficient, as it is optimized for performance and is less likely to contain errors or bugs. It is also more reusable, allowing you to use it in other projects without having to rewrite it.

  - See Example →




LINE Notify Mockup

🧩 With Extensions.

With LINELIB, you can easily and efficiently integrate various LINE services into your projects and applications, all with just a few lines of code. LINELIB simplifies the process of working with LINE services, making it more accessible and streamlined for developers of all skill levels. Whether you're looking to add messaging functionality, connect with LINE's social media platform, or utilize other LINE services, LINELIB makes it simple to do so with minimal code requirements.

LINELIB currently supports these LINE services:

  • LINE Messaging API
  • LINE Notify
  • LINE Social Plugins

  - LINE Notify Example →

💪 Create Commands.

Create text commands like a pro. Linelib helps you to quickly and efficiently create text commands.

Greeting Command Source Code
Greeting Command Example

( •̀ ω •́ )✧ Ready to give it a shot?

Oh my goodness, you're here! I'm hyped to see that you're willing to give it a go.

Anyways, here are some helpful links that can get you around with LINELIB.

🚀 See Examples

🌍 Wiki

🎉 Examples.

Here are some code examples (provided from the top).

1: Quick Example

from linelib import Client

client = Client('channel secret', 'channel access token')

@client.event('ready')
async def ready():
  print('I am ready!')
  
client.run()

2: LINE Notify Example

from linelib import Client
from linelib.notify import Notify

client = Client(...) # see "Quick Example"
notify = Notify("access token")

@client.event('ready')
async def ready():
  await notify.notify("Daily News:\nLinelib version 2 has released!!11!")
  
client.run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linelib-2.tar.gz (20.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page