anitube_crawler_api 0.1.0

  • Readme
  • Changelog
  • Installing
  • 44

anitube_crawler_api #

Anitube website crawler API. This dart package is a simple library to fetch animes and episodes data from the brazilian Anitube website. For now the goal of this package is just be a study object and will be used in my flutter course Building Hybrid mobile apps with Dart/Flutter.

Features #

  • Fetch the most recent episode posts
  • Fetch the most recent anime posts
  • Fetch the most visualized animes
  • Fetch the daily releases
  • Fetch animes genres available
  • Fetch anime details with episode list
  • Fetch episodes details with video stream link

Usage #

The API #

[0.1.0] - 24/08/2019

  • Initial release.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  anitube_crawler_api: ^0.1.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:anitube_crawler_api/anitube_crawler_api.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Oct 11, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.4


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/anitube_crawler_api.dart.

Run flutter format to format lib/anitube_crawler_api.dart.

Format lib/model/AnimeDetails.dart.

Run flutter format to format lib/model/AnimeDetails.dart.

Format lib/model/AnimeItem.dart.

Run flutter format to format lib/model/AnimeItem.dart.

Fix additional 18 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/model/AnimeListPageInfo.dart (Run flutter format to format lib/model/AnimeListPageInfo.dart.)
  • lib/model/EpisodeDetails.dart (Run flutter format to format lib/model/EpisodeDetails.dart.)
  • lib/model/EpisodeItem.dart (Run flutter format to format lib/model/EpisodeItem.dart.)
  • lib/model/HomePageInfo.dart (Run flutter format to format lib/model/HomePageInfo.dart.)
  • lib/model/Item.dart (Run flutter format to format lib/model/Item.dart.)
  • lib/network/AnimeDetailsPageFetcher.dart (Run flutter format to format lib/network/AnimeDetailsPageFetcher.dart.)
  • lib/network/AnimeListPageFetcher.dart (Run flutter format to format lib/network/AnimeListPageFetcher.dart.)
  • lib/network/AnitubePath.dart (Run flutter format to format lib/network/AnitubePath.dart.)
  • lib/network/EpisodeDetailsPageFetcher.dart (Run flutter format to format lib/network/EpisodeDetailsPageFetcher.dart.)
  • lib/network/GenrePageFetcher.dart (Run flutter format to format lib/network/GenrePageFetcher.dart.)
  • lib/network/HomePageFetcher.dart (Run flutter format to format lib/network/HomePageFetcher.dart.)
  • lib/network/PageFetcher.dart (Run flutter format to format lib/network/PageFetcher.dart.)
  • lib/parser/AnimeDetailsPageParser.dart (Run flutter format to format lib/parser/AnimeDetailsPageParser.dart.)
  • lib/parser/AnimeListPageParser.dart (Run flutter format to format lib/parser/AnimeListPageParser.dart.)
  • lib/parser/EpisodeDetailsPageParser.dart (Run flutter format to format lib/parser/EpisodeDetailsPageParser.dart.)
  • lib/parser/GenrePageParser.dart (Run flutter format to format lib/parser/GenrePageParser.dart.)
  • lib/parser/HomePageParser.dart (Run flutter format to format lib/parser/HomePageParser.dart.)
  • lib/parser/ItemParser.dart (Run flutter format to format lib/parser/ItemParser.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (dio).

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and anitube_crawler_api.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
dio ^2.1.13 2.2.2 3.0.3
flutter 0.0.0
html ^0.14.0+2 0.14.0+3
Transitive dependencies
charcode 1.1.2
collection 1.14.11 1.14.12
cookie_jar 1.0.1
csslib 0.16.1
meta 1.1.7
path 1.6.4
sky_engine 0.0.99
source_span 1.5.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies