anonfiles 0.6.0 copy "anonfiles: ^0.6.0" to clipboard
anonfiles: ^0.6.0 copied to clipboard

discontinued

AnonFiles HTTP client. Support for AnonFiles, FileChan and LetsUpload. Large file upload is supported.

AnonFiles for Dart #

Pub Version Pub Version

This is a library for interacting with AnonFiles related APIs:

Installation #

dependencies:
  anonfiles: ^<latest-version>

Import:

import 'package:anonfiles/anonfiles.dart';

Usage #

The usage is pretty straightforward:

final client = AnonFiles(); // LetsUpload() and FileChan() are also available.

final AnonFileUploadResponse? response = await client.uploadFileBytes(
  byteStream: byteStream,
  filename: filename,
  length: length,
);

final String htmlDownloadUrl = response!.htmlDownloadUrl!;

final String? fileDirectDownloadUrl =
    await client.getDirectDownloadUrl(htmlDownloadUrl);

Check /example for details.

Issues and requests #

Contributing #

  1. First off, fork the repository.

  2. Setup dev environment:

# Clone repo.
$ git clone <your-fork-url>
$ cd anonfiles.dart

# Get deps.
$ dart pub get

# Dart code gen for data models.
$ dart run derry run gen:dart:watch
  1. Commit and push:
git add .
git commit -m "Describe changes"
git push origin main
  1. Open PR.
0
likes
0
pub points
0%
popularity

Publisher

verified publisheralexrintt.io

AnonFiles HTTP client. Support for AnonFiles, FileChan and LetsUpload. Large file upload is supported.

Repository (GitHub)
View/report issues

Documentation

Documentation

Funding

Consider supporting this project:

github.com
donate.alexrintt.io

License

unknown (license)

Dependencies

freezed_annotation, http, json_annotation, web_scraper

More

Packages that depend on anonfiles