Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

TesteurManiak/temtem_api_wrapper

Repository files navigation

temtem_api_wrapper

Test workflow Issues 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:

  • getTemTems({List<String> names, List<ExpandableField> expand, bool weaknesses})
  • 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

  • dio : Used to make HTTP requests
  • collection : Used to manage lists and maps equality

TODO

  • Improve documentation
  • Expand example cases

About

Wrapping for the unofficial Temtem API in Flutter

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages