forestvpn_api 1.2.0 forestvpn_api: ^1.2.0 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: ^1.2.0
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/model/subscription.dart';
import 'package:forestvpn_api/api.dart';
import 'package:forestvpn_api/api/apple_api.dart';
import 'package:forestvpn_api/api/geo_api.dart';
import 'package:forestvpn_api/api/google_api.dart';
import 'package:forestvpn_api/api/usage_api.dart';
import 'package:forestvpn_api/api/user_api.dart';
import 'package:forestvpn_api/api/wireguard_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/android_device_info.dart';
import 'package:forestvpn_api/model/android_device_info_version.dart';
import 'package:forestvpn_api/model/apple_verify_receipt_request.dart';
import 'package:forestvpn_api/model/country.dart';
import 'package:forestvpn_api/model/error.dart';
import 'package:forestvpn_api/model/geo_point.dart';
import 'package:forestvpn_api/model/google_play_purchase_verification_request.dart';
import 'package:forestvpn_api/model/ios_device_info.dart';
import 'package:forestvpn_api/model/ios_device_info_utsname.dart';
import 'package:forestvpn_api/model/location.dart';
import 'package:forestvpn_api/model/profile_preference.dart';
import 'package:forestvpn_api/model/usage_traffic.dart';
import 'package:forestvpn_api/model/wire_guard_interface.dart';
import 'package:forestvpn_api/model/wire_guard_peer.dart';
import 'package:forestvpn_api/model/wire_guard_profile.dart';
import 'package:forestvpn_api/model/wire_guard_profile_create_request.dart';
import 'package:forestvpn_api/model/wire_guard_profile_update_request.dart';
import 'package:forestvpn_api/model/wire_guard_profile_usage.dart';