forestvpn_api 1.0.5 forestvpn_api: ^1.0.5 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.0.5
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/dns_api.dart';
import 'package:forestvpn_api/api/geo_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/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_store_latest_receipt_info.dart';
import 'package:forestvpn_api/model/apple_store_pending_renewal_info.dart';
import 'package:forestvpn_api/model/apple_store_server_notification.dart';
import 'package:forestvpn_api/model/apple_store_unified_receipt.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/feature.dart';
import 'package:forestvpn_api/model/geo_point.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/lookup.dart';
import 'package:forestvpn_api/model/lookup_request.dart';
import 'package:forestvpn_api/model/preference.dart';
import 'package:forestvpn_api/model/preference_update_request.dart';
import 'package:forestvpn_api/model/premium.dart';
import 'package:forestvpn_api/model/usage_traffic.dart';
import 'package:forestvpn_api/model/usage_traffic_update_request.dart';
import 'package:forestvpn_api/model/wire_guard_profile_create_request.dart';
import 'package:forestvpn_api/model/wireguard_interface.dart';
import 'package:forestvpn_api/model/wireguard_peer.dart';
import 'package:forestvpn_api/model/wireguard_profile.dart';