forestvpn_api 2.5.0+3 forestvpn_api: ^2.5.0+3 copied to clipboard
A package to interact api.forestvpn.com (manage vpn profiles, check usage statistics, manage locations, ...)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add forestvpn_api
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
forestvpn_api: ^2.5.0+3
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:forestvpn_api/api.dart';
import 'package:forestvpn_api/api/apple_api.dart';
import 'package:forestvpn_api/api/auth_api.dart';
import 'package:forestvpn_api/api/billing_api.dart';
import 'package:forestvpn_api/api/device_api.dart';
import 'package:forestvpn_api/api/fcm_api.dart';
import 'package:forestvpn_api/api/friendship_api.dart';
import 'package:forestvpn_api/api/geo_api.dart';
import 'package:forestvpn_api/api/google_api.dart';
import 'package:forestvpn_api/api_client.dart';
import 'package:forestvpn_api/api_exception.dart';
import 'package:forestvpn_api/api_helper.dart';
import 'package:forestvpn_api/auth/api_key_auth.dart';
import 'package:forestvpn_api/auth/authentication.dart';
import 'package:forestvpn_api/auth/http_basic_auth.dart';
import 'package:forestvpn_api/auth/http_bearer_auth.dart';
import 'package:forestvpn_api/auth/oauth.dart';
import 'package:forestvpn_api/model/app_store_receipt_verification_request.dart';
import 'package:forestvpn_api/model/billing_feature.dart';
import 'package:forestvpn_api/model/constraint.dart';
import 'package:forestvpn_api/model/country.dart';
import 'package:forestvpn_api/model/create_fcm_device_request.dart';
import 'package:forestvpn_api/model/create_or_update_device_request.dart';
import 'package:forestvpn_api/model/create_or_update_device_request_info.dart';
import 'package:forestvpn_api/model/create_or_update_port_forwarding_request.dart';
import 'package:forestvpn_api/model/device.dart';
import 'package:forestvpn_api/model/device_peer.dart';
import 'package:forestvpn_api/model/device_stats.dart';
import 'package:forestvpn_api/model/environment.dart';
import 'package:forestvpn_api/model/error.dart';
import 'package:forestvpn_api/model/fcm_device.dart';
import 'package:forestvpn_api/model/friendship.dart';
import 'package:forestvpn_api/model/friendship_invitation.dart';
import 'package:forestvpn_api/model/legacy_auth_migration_token.dart';
import 'package:forestvpn_api/model/location.dart';
import 'package:forestvpn_api/model/network_service.dart';
import 'package:forestvpn_api/model/play_store_purchase_verification_request.dart';
import 'package:forestvpn_api/model/port_forwarding.dart';
import 'package:forestvpn_api/model/server.dart';
import 'package:forestvpn_api/model/update_fcm_device_request.dart';
import 'package:forestvpn_api/model/user.dart';
import 'package:forestvpn_api/model/wire_guard.dart';
import 'package:forestvpn_api/model/wire_guard_peer.dart';