pikadart 1.0.1 copy "pikadart: ^1.0.1" to clipboard
pikadart: ^1.0.1 copied to clipboard

This Dart package serves as a wrapper for the PokeApi, providing a convenient and efficient way to interact with the Pokémon API in Dart projects. The package is designed to simplify the process of ma [...]

example/main.dart

import 'package:pikadart/pikadart.dart';

void main() {
  // Use the general client
  final pokeapiClient = PokeApiClient();
  // Get pikachu data
  final pikachu = pokeapiClient.pokemon.getPokemonByName('pikachu');

  // Or use a specified client
  final berriesClient = BerriesClient();
  // Get a paginated list of berries
  final berries = berriesClient.getBerryList(0, 20);
}
1
likes
150
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This Dart package serves as a wrapper for the PokeApi, providing a convenient and efficient way to interact with the Pokémon API in Dart projects. The package is designed to simplify the process of making API requests and includes an automatic caching mechanism to enhance performance.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

cached, cached_annotation, http

More

Packages that depend on pikadart