temtem_api_wrapper 0.1.1+3
temtem_api_wrapper: ^0.1.1+3 copied to clipboard

Wrapper for all the methods of the unofficial Temtem REST API.

temtem_api_wrapper #

Issues Forks Stars Pub Version License

Wrapper for the unofficial Temtem API.

How to use #

Simply instantiate the API class and call the methods you need.

The package currently supports:

  • getTemTem(int number, {List<String> fields, List<String> expand})
  • getTemtem(String name, int level)
  • getFreeTem()
  • getFreeTemRewards()
  • getTypes()
  • getConditions()
  • getTechniques({List<String> names, List<String> fields})
  • getTrainingCourses()
  • getTraits({List<String> names, List<String> fields})
  • getItems()
  • getGears()
  • getQuests()
  • getCharacters()
  • getSaiparks()
  • getLocations()
  • getCosmetics()
  • getDyes()
  • getPatches()
  • getWeaknesses()
  • calculateWeakness(String attacking, List<String> defending)
  • getBreeding()
import 'package:temtem_api_wrapper/temtem_api_wrapper.dart';

final temtemApi = TemTemApi();

final List<TemTemApiTem> temtemsList = await temtemApi.getTemtems();
final TemTemApiFreeTem freetemRewards = await temtemApi.getFreeTem();
// etc...

Dependencies #

  • http : Used to make HTTP requests

TODO #

  • Add comments
  • Add unit tests
  • Expand example cases
2
likes
90
pub points
0%
popularity

Publisher

rouxguillau.me

Wrapper for all the methods of the unofficial Temtem REST API.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, http

More

Packages that depend on temtem_api_wrapper