mirrored_repositories/GetXStudy/lib/pages/coin_rank
import 'package:getx_study/base/interface.dart';
import 'package:getx_study/entity/base_entity.dart';
import 'package:getx_study/entity/coin_rank_entity.dart';
import 'package:getx_study/entity/page_entity.dart';
import 'package:getx_study/http_util/request.dart' as http;
import 'package:getx_study/http_util/api.dart';

class CoinRankRepository extends IRepository {
  Future<BaseEntity<PageEntity<List<CoinRankDatas>>>> getCoinRankList(
          int page) =>
      http.Request.get(api: "${Api.getRankingList}${page.toString()}/json");
}
