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

discontinued

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
40
pub points
0%
popularity

Publisher

verified publisherrouxguillau.me

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

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, http

More

Packages that depend on temtem_api_wrapper