Wrapper for the unofficial Temtem API.
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...
- dio : Used to make HTTP requests
- collection : Used to manage lists and maps equality
- Improve documentation
- Expand example cases