Skip to content

hyper-designed/lemon_squeezy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lemon Squeezy

API: https://docs.lemonsqueezy.com/api

Getting started

  1. Add this to your package's pubspec.yaml file:
dependencies:
  lemon_squeezy: 
    git: 
      url: git://github.com/hyper-designed/lemon_squeezy.git
      ref: main

Usage

  1. Initialize the client
import 'package:lemon_squeezy/lemon_squeezy.dart';

final client = LemonSqueezyClient(
    apiKey: 'your-api-key',
    enableLogging: kDebugMode, // Logs requests and responses if true.
);
  1. Use the client to make requests
final response = await client.products.getAllProducts();
print(response.data);
final response = await client.subscriptions.getAllSubscriptions();

About

A Client for Lemon Squeezy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages